Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Building a Personal or Small Business Website with Django



These are the slides to Eric Floehr's presentation at the October 2010 Central Ohio Python Users Group meeting....

These are the slides to Eric Floehr's presentation at the October 2010 Central Ohio Python Users Group meeting.

There are lot of options when you want a website with things like easy content creation/editing (product pages, about pages, etc.), a blog, and maybe even Twitter status updates. Products like Wordpress, Drupal, and Plone come to mind. But you don't want to learn another new one-off app that you can't easily customize, don't want an enterprisey app, and being the Pythonista programmer that you are, you'd like it it Python and you'd like to build it yourself. That way you know all the ins-and-outs and can customize as you like.

From scratch, Eric will show how to build a CMS and blog using Django and best-of-breed reusable apps, demostrating best practices that will allow you to get a site up and working in the shortest time possible (I hope to talk for less than an hour) but allow for the maximum customization in the future.

I hope that you will leave the talk able to create your own personal or small business website that is powerful, customizable, and most of all, useful.



Total Views
Slideshare-icon Views on SlideShare
Embed Views



4 Embeds 13

http://www.techgig.com 8
http://www.linkedin.com 3 1
https://www.linkedin.com 1



Upload Details

Uploaded via as OpenOffice

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Building a Personal or Small Business Website with Django Building a Personal or Small Business Website with Django Presentation Transcript

    • The Goal: A Personal or Small Business Website
    • Requirements: Static Pages Blog with Comments Easy to Edit Extensible
    • Blog first: Wordpress (#1 by far) CMS first: Static HTML pages (#1 by far) Drupal Joomla!
    • More Requirements: Python!
    • Spectrum: Blogofile … Django … Plone
    • There are 101 Ways to Make a Website... You will go MAD trying to figure out the “BEST” one for you.
    • Django
    • Django Concepts: MVC – Model Template View Project Application Models / Managers Templates / Context Processors Views / Middleware URL Dispatcher
    • Tools: Python Virtualenv Pip
    • http://djangopackages.com/
      • virtualenv –no-site-packages pyenv
      • source pyenv/bin/activate
      • pip install -e hg+ http://bitbucket.org/stephenmcd/mezzanine#egg=mezzanine
      • mezzanine-project sample
      • python sample/manage.py syncdb
      • python sample/manage.py runserver
      A working site in 6 lines
    • Admin On-page Editing Template Editing
    • mezzanine.core mezzanine.blog mezzanine.forms mezzanine.pages mezzanine.settings mezzanine.twitter
    • Django Debug Toolbar http://pypi.python.org/pypi/django-debug-toolbar # pip install django-debug-toolbar # python manage.py debugsqlshell Already configured in Mezzanine
    • Django Command Extensions http://code.google.com/p/django-command-extensions/ # pip install django-extensions # python manage.py graph_models blog>blog.dot # dotty blog.dot # pip install werkzeug # python manage.py runserver_plus
    • South http://south.aeracode.org/ # pip install south # python manage.py syncdb # python manage.py schemamigrations … --auto # python manage.py migrate ...
    • You drive.