Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandlbn/django-bootstrap-calendar
simple django calendar app based on the bootstrap calendar of http://bootstrap-calendar.azurewebsites.net/
https://github.com/sandlbn/django-bootstrap-calendar
Last synced: 3 months ago
JSON representation
simple django calendar app based on the bootstrap calendar of http://bootstrap-calendar.azurewebsites.net/
- Host: GitHub
- URL: https://github.com/sandlbn/django-bootstrap-calendar
- Owner: sandlbn
- License: bsd-3-clause
- Created: 2013-08-21T04:58:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T21:56:16.000Z (8 months ago)
- Last Synced: 2024-04-04T03:39:22.072Z (7 months ago)
- Language: JavaScript
- Size: 461 KB
- Stars: 102
- Watchers: 11
- Forks: 56
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - django-bootstrap-calendar - simple django calendar app based on the bootstrap calendar of http://bootstrap-calendar.azurewebsites.net/ (JavaScript)
README
=============================
django-bootstrap-calendar
=============================simple calendar based on the bootstrap calendar from http://bootstrap-calendar.azurewebsites.net/
.. image:: https://raw.github.com/sandlbn/django-bootstrap-calendar/master/screenshot.png
Requirements
------------- Python 2.6, 2.7
- Django (1.4.3+)
- jsmin (2.0.3+)Instalation
----------Django:
settings.py::
INSTALLED_APPS = (
...
'django_bootstrap_calendar',
...
)urls.py::
urlpatterns = patterns('',
...
(r'^calendar/', include('django_bootstrap_calendar.urls')),
...
)Load templatetags::
{% load bootstrap_calendar %}
In your template file::
Calendar controls :
{% bootstrap_controls 'optional-css-classes' %}
Calendar:{% bootstrap_calendar 'optional-css-classes' %}
In your base.html file css section::
{% bootstrap_calendar_css %}
In your base.html file javascript section::
{% bootstrap_calendar_js language="lang-code" %}
{% bootstrap_calendar_init language="lang-code" %}