Be More Productive with django_extensions

Django provides a lot of really useful things by default, but there are a few things we do over and over again. Learn how django extensions help solve some of these, and enhances your ability to do others with this intro to django-extensions. We will show a few of the many many useful things it can do.

resources

command line

pip install django-extensions
pip install ipython ipdb
pip install Werkzeug
./manage.py passwd percent20
./manage.py generate_secret_key
./manage.py show_urls
./manage.py shell_plus
./manage.py runserver_plus
settings.py

INSTALLED_APPS = (
    ...
    'django_extensions',
    'task',
)
models.py
from django.db import models
from django_extensions.db.models import (
    TitleSlugDescriptionModel, TimeStampedModel)

class Task(TitleSlugDescriptionModel, TimeStampedModel):
    completed = models.BooleanField(default=False)
comments powered by Disqus