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.

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix