At the Forge - First Steps with Django

 in
If you want the power of Rails with Python instead, give Django a jingle.

Reuven M. Lerner, a longtime Web/database consultant, is a PhD candidate in Learning Sciences at Northwestern University in Evanston, Illinois. He currently lives with his wife and three children in Skokie, Illinois. You can read his Weblog at altneuland.lerner.co.il.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

In case you're reading this

Conny Brunnkvist's picture

In case you're reading this tutorial and can't seem to get the admin interface up, it might be that you're using a version that requires you to edit urls.py - the article fails to mention this!

The following lines in urls.py should be of special interest to you:


# Uncomment this for admin:
# (r'^admin/', include('django.contrib.admin.urls')),

Small typo, but it should be

Tony S's picture

Small typo, but it should be __init__.py, not __init.py__.

One more correction

Adrian Holovaty's picture

It's misleading to say "Django assumes that everyone will want to have an authentication system." The authentication system, along with a few other commonly used features, is activated by default, but it's very easy to disable -- just comment out the appropriate lines in INSTALLED_APPS before you run the "syncdb" command, and none of that stuff will be installed.

Correction

Adrian Holovaty's picture

Hey there,

It's misleading to say "Django was first written by Adrian Holovaty" -- Simon Willison worked on it from the start, and Jacob Kaplan-Moss also contributed greatly before the framework was open-sourced.