Demonstration of using Python Descriptors to Enhance Django Models and Fields
Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit ee45194 Jul 2, 2015
Permalink
Failed to load latest commit information.
example Initial commit Dec 6, 2014
.gitignore Initial commit Dec 6, 2014
Readme.markdown Update Readme.markdown Dec 9, 2014
dev-requirements.txt Initial commit Dec 6, 2014
manage.py Initial commit Dec 6, 2014
requirements.txt Initial commit Dec 6, 2014

Readme.markdown

Django Descriptors

This sample project is the companion of a blog post on patterns for building better models and fields using Descriptors.

Setup

You're encouraged to setup a virtualenv to work in prior to configuring the dependencies.

  1. Install Python Requirements

     pip install -r dev-requirements.txt
    
  2. Setup the Database

     ./manage.py syncdb
    
  3. Load the models

     ./manage.py shell_plus