
from django.forms.widgets import DateInput

from django.contrib.admin.templatetags.admin_static import static

class DatePickerWidget(DateInput):
    class Media:
        css = {
            "all": (
                static("css/cupertino/jquery-ui-1.10.3.custom.css"),
            )
        }
        js = (
            static("js/jqcalendar.js"),
            static("js/jquery-ui-1.10.3.custom.js"),
        )
    
    def __init__(self, *args, **kwargs):        
        super(DatePickerWidget, self).__init__(*args, **kwargs)
        self.attrs = {'class': 'datepicker'}

@@ -54,22 +54,8 @@
 ngo.
-contrib.admin.
 temp
@@ -67,14 +67,8 @@
 ags.
-admin_
 stat
@@ -77,22 +77,17 @@
  import 
-static
+*
 %0A%0Aclass 

use django templatetags static