Code

Changes between Initial Version and Version 2 of Ticket #1939


Ignore:
Timestamp:
06/19/06 21:07:52 (8 years ago)
Author:
adrian
Comment:

Fixed formatting in description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1939 – Description

    initial v2  
    11A minimal model that reproduces the problem: 
    22 
     3{{{ 
    34class Account(models.Model): 
    45        class Admin: 
     
    1213        contra = models.ForeignKey(Account, related_name = 'transactions2') 
    1314        description = models.CharField(maxlength = 64) 
     15}}} 
    1416 
    1517This code, when run in the admin, and when goes to the Account add screen, produces 
    1618the following traceback: 
    1719 
     20{{{ 
    1821Traceback (most recent call last): 
    1922File "/home/ww/django_src/django/template/__init__.py" in render_node 
     
    3639  KeyError at /admin/record/account/add/ 
    3740  'account' 
     41}}} 
    3842 
    3943I am running SVN as of a few minutes ago.