Code

Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#1805 closed defect (invalid)

'adminmedia' is not a valid tag library

Reported by: stanep@… Owned by: adrian
Component: Documentation Version: master
Severity: critical Keywords: Template library django.templatetags.adminmedia
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Runing latest revison 2864
trying to go through tutorial 2

try to access admin pages
http://localhost:8000/admin/

got this error

TemplateSyntaxError at /admin/
'adminmedia' is not a valid tag library: Template library django.templatetags.adminmedia does not have a variable named 'register'

...
Template error

In template C:\Python23\lib\site-packages\django\contrib\admin\templates\admin/login.html, error at line 4

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by adrian

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

Please use the ticket system for functionality improvements or bug reports -- not for tech-support.

comment:2 Changed 7 years ago by opera7@…

  • Component changed from Admin interface to Documentation
  • Keywords Template library django.templatetags.adminmedia added
  • milestone set to Version 1.0
  • priority changed from normal to high
  • Resolution invalid deleted
  • Severity changed from normal to critical
  • Status changed from closed to reopened
  • Version set to SVN

So, this bug in documentation?
PS. I've stumbled on this bug using Django r4218, win32, python 2.4.3, going through tutorial.

comment:3 Changed 7 years ago by adrian

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

Please ask tech-support questions on the django-users mailing list.

comment:4 Changed 7 years ago by anonymous

  • milestone Version 1.0 deleted

Milestone Version 1.0 deleted

comment:5 Changed 5 years ago by bartosak

this is not a bug. You schould add thiese to your INSTALLED_APPS:

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
}

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.