<commit_before>
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)<commit_msg>use django templatetags static<commit_after>
from django.forms.widgets import DateInput

from django.templatetags.static import *

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)
{'fraction_non_alphanumeric': 0.1331521739130435, 'fraction_numerical': 0.014492753623188406, 'mean_word_length': 1.9864864864864864, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3711044', 'n_tokens_mistral': 349, 'n_tokens_neox': 338, 'n_words': 53}