Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#14465 closed (invalid)

TemplateSyntaxError in Django Admin search

Reported by: Entropius Owned by: nobody
Component: Uncategorized 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

When I bound see in search result 1 string, I get exception TemplateSyntaxError(Caught KeyError while rendering: u'counter')

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by kmtracey

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

There is not enough information here to diagnose what is wrong. The full traceback at least is needed, the model and admin definitions for the model you are trying to search would help also. Please try to provide enough information to allow someone to help.

comment:2 Changed 4 years ago by Entropius

  • Resolution invalid deleted
  • Status changed from closed to reopened

Oh, my... I don't known english language.

Just try find only 1 record in admin.

comment:3 Changed 4 years ago by gabrielhurley

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

Searching for one record in the admin works perfectly for me. Something in your code is causing the failure. From what you have given us here, there is no way we can diagnose the problem.

I recommend asking on the Django Users mailing list, the #django channel on IRC, or a site like StackOverflow. If you post your code you may be able to get help with your problem.

comment:4 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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.