Closed yetkinozturk closed 10 years ago
do you configure your static folder in settings.py? if your static folder is served by apache remeber to run> manage.py collectstatic. For more help , please , follow the readme here https://github.com/asaglimbeni/django-datetime-widget.
Still same error. I configured them.
i added this and solved, there is no information about that. <---script src="{{ STATIC_URL }}js/bootstrap-datetimepicker.js"> <---ink rel="stylesheet" href="{{ STATIC_URL }}css/datetimepicker.css">
Datetimepicker generates a html like this:
But I am getting an error like this on my console:
Uncaught TypeError: Object [object Object] has no method 'datetimepicker'