Code

Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#20074 closed Uncategorized (invalid)

admin.py not autogenerated as explained

Reported by: bradley.hekman@… Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello. Firstly, thank you very much for the tutorial! It has greatly enhanced and sped my learning experience.

However, I when I attempted to part 2, I ran into problems. The admin page wasn't loading. After exploring a little, I realized that admin.py had never been autogenerated in the way that "Writing your first Django app, part 1" explained.

Attachments (0)

Change History (1)

comment:1 Changed 16 months ago by charettes

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

The admin.py file is only created as of Django > 1.5. I think you read the development version of the documentation while using django 1.5.

Just create the empty admin.py file by yourself.

Last edited 16 months ago by charettes (previous) (diff)

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.