Code

Opened 5 years ago

Closed 5 years ago

#11620 closed (worksforme)

Tutorial part II, page 1, gives error message when followed.

Reported by: thegreygeek Owned by: nobody
Component: Documentation Version: 1.1-beta
Severity: Keywords: tutorial part II, admin
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Admin screen will not run when tutorial is followed.

I hacked around and found that making a change in settings.py will correct the error.

I uncommented the line

django.template.loaders.eggs.load_template_source

and that found the correct template and admin ran.

EGGS? must be inside joke.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

Eggs are a Python thing. For a normal Django install, you don't need to uncomment that line to get admin working. The fact that uncommenting it for you makes admin work would seem to imply you are running Django out of an egg file, which seems odd if you don't even know what eggs are. You might want to post on IRC or django-users including information about how you installed Django to get an explanation for why you need that template loader enabled. I don't see that there's a bug in the tutorial here, though, as plenty of people have followed it after using the linked install instructions, and not needed to uncomment that line to get admin working.

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.