﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17540	Errors in 1.3 Writing your first Django app part 1 and 2 Ubuntu 11.10	eric.fish@…	nobody	"I recently tried to work through your tutorial for Django 1.3 on Ubuntu 11.10.  The first error I found was in part 1 where the new app was added to installed apps and there is a missing comma ',':
{{{
#!python
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'polls'
)
}}}
and should read:
{{{
#!python
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'polls',
)
}}}
The second error was in part 2 in the section ""Make the poll app modifiable in the admin"".  It has a misplaced 'models' in the first import and reads:
{{{
#!python
from polls.models import Poll
from django.contrib import admin

admin.site.register(Poll)
}}}
and should read:
{{{
#!python
from models import Poll
from django.contrib import admin

admin.site.register(Poll)
}}}
I believe the second issue could be also fixed by describing the expected project structure in the tutorial.

These errors were discovered when setting up a Django, mod_wsgi, apache configuration on Ubuntu 11.10"	Uncategorized	closed	Documentation	1.3	Normal	invalid			Unreviewed	0	0	0	0	1	0
