Code

Opened 7 years ago

Closed 7 years ago

#3498 closed (invalid)

Django tutorial lists wrong 'installed apps' entry

Reported by: martin@… Owned by: jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

On http://www.djangoproject.com/documentation/tutorial1/, the tutorial explains that I should put 'mysite.polls' into INSTALLED_APPS. If I do that, I get an error (when running sql polls)

django.core.exceptions.ImproperlyConfigured: App with label polls could not be found

However, if I just put 'polls' into that list, the sql command succeed.

NB. I have not used 'mysite' as the project name, but a different string, and used that everywhere the tutorial says 'mysite'.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

I'm not sure the tutorial can cover cases of "if you didn't do what the tutorial said to do earlier, you'll need to change this..."

Or am I misunderstanding here?

comment:2 Changed 7 years ago by adrian

  • Resolution set to invalid
  • Status changed from new to closed

Hi Martin,

Looks like you've made some sort of mistake in following the tutorial. If you can figure out, please report back with how we can improve the tutorial. But I'm marking this particular ticket as invalid, because thousands of people have followed the tutorial and *not* had a problem with that setting.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.