A simple demo project that implements Django polls the Mezzanine way.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deploy
polldemo
polls
.gitignore
LICENSE
README.md
__init__.py
fabfile.py
manage.py
requirements.txt

README.md

Mezzanine Polls

Mezzanine-style implementation of the Django polls (from the tutorial).

How to play

  1. Clone the repo

  2. Check out the initial commit

  3. Install the requirements: pip install -r requirements.txt (this will install Mezzanine and all Python dependencies).

  4. Inside polldemo/ copy and rename local_settings.py.sample to local_settings.py (further instructions in the file).

  5. Initialize the database: python manage.py createdb. Take note of the username and password you use (those will be the admin credentials). You can answer all other prompts with the defaults.

  6. Start the Django development server python manage.py runserver. Visit http://localhost:8000/polls to view the site. The admin is at http://localhost:8000/admin.

  7. Replay the commits as you walk through the slides. You can re-type everything or just look at the diffs, they are very small and clear. Remember to run migrations!