Installation and Setup¶
Installation¶
Install the latest version of Daguerre using pip
:
pip install django-daguerre
You can also clone the repository or download a package at https://github.com/melinath/django-daguerre.
Setup¶
Add 'daguerre'
to your project’s INSTALLED_APPS
:
INSTALLED_APPS = (
'daguerre',
...
)
Add Daguerre’s URL patterns to your URLconf:
urlpatterns = patterns('',
url(r'^daguerre/', include('daguerre.urls')),
...
)
Run the migration command to create the database models:
python manage.py migrate daguerre
Now you’re ready to use Daguerre’s template tags!
Versions and Requirements¶
- Python 3.5+
- Pillow
- Django 1.11 – 3.0
Daguerre may work with earlier versions of these packages, but they are not officially supported.