{"id":18441539,"url":"https://github.com/zokis/django-bootstrap-datetimepicker","last_synced_at":"2025-04-07T22:32:21.872Z","repository":{"id":7437255,"uuid":"8776651","full_name":"zokis/django-bootstrap-datetimepicker","owner":"zokis","description":"DateTime Picker to Django using Bootstrap Twitter and bootstrap-datetimepicker","archived":false,"fork":false,"pushed_at":"2015-08-31T13:01:45.000Z","size":241,"stargazers_count":17,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T01:41:22.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zokis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-14T14:07:04.000Z","updated_at":"2020-11-13T06:50:30.000Z","dependencies_parsed_at":"2022-09-03T09:40:51.131Z","dependency_job_id":null,"html_url":"https://github.com/zokis/django-bootstrap-datetimepicker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zokis%2Fdjango-bootstrap-datetimepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zokis%2Fdjango-bootstrap-datetimepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zokis%2Fdjango-bootstrap-datetimepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zokis%2Fdjango-bootstrap-datetimepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zokis","download_url":"https://codeload.github.com/zokis/django-bootstrap-datetimepicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247741431,"owners_count":20988400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T06:38:17.873Z","updated_at":"2025-04-07T22:32:18.526Z","avatar_url":"https://github.com/zokis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-bootstrap-datetimepicker\n===============================\n\nDateTime Picker to Django using [Bootstrap Twitter](http://twitter.github.com/bootstrap/ \"Bootstrap\") and [bootstrap-datetimepicker](http://tarruda.github.com/bootstrap-datetimepicker/ \"datetimepicker\")\n\n\nThis package uses Bootstrap v2.x datetimepicker widget provided by the following project:\n http://tarruda.github.com/bootstrap-datetimepicker/\n\nIt works only with Bootstrap2.x. If you are using Bootstrap3 in your Django project, \nvisit https://github.com/nkunihiko/django-bootstrap3-datetimepicker/\n\n\nInstall\n-------------------------------\n\n* Run `pip install django-bootstrap-datetimepicker`\n* Add `'django_bootstrap_datetimepicker'` to your `INSTALLED_APPS`\n\n\nExample\n--------------------------------\n\n###### forms.py\n```python\nfrom django import forms\nfrom django_bootstrap_datetimepicker.widgets import BootstrapDateTimeInput\n\nclass ToDoForm(forms.Form):\n    todo = forms.CharField()\n    date = forms.DateTimeField(\n        widget=BootstrapDateTimeInput()\n    )\n    reminder = forms.DateTimeField(\n        widget=BootstrapDateTimeInput()\n    )\n```\n###### template.html\n```html\n\u003c!DOCTYPE HTML\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003clink\n        href=\"//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap.min.css\"\n        rel=\"stylesheet\"\u003e\n    {{ form.media.css }}\n  \u003c/head\u003e\n  \u003cbody\u003e\n    {{ form }}\n    \u003cscript type=\"text/javascript\"\n     src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js\"\u003e\n    \u003c/script\u003e \n    \u003cscript type=\"text/javascript\"\n     src=\"//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js\"\u003e\n    \u003c/script\u003e\n    {{ form.media.js }}\n  \u003c/body\u003e\n\u003chtml\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzokis%2Fdjango-bootstrap-datetimepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzokis%2Fdjango-bootstrap-datetimepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzokis%2Fdjango-bootstrap-datetimepicker/lists"}