Opened 17 years ago

Closed 17 years ago

#5196 closed (fixed)

Error since trunk-merge in newforms-admin @5918

Reported by: anonymous Owned by: Jacob
Component: Uncategorized Version: newforms-admin
Severity: Keywords:
Cc: django@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Gary Wilson)

This error seems to be independent of any projects (the output ist from a new and clean project...)

./manage.py runserver
Validating models...
Unhandled exception in thread started by <function inner_run at 0x85c3454>
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/django/core/management/commands/runserver.py", line 40, in inner_run
    self.validate()
  File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 59, in validate
    num_errors = get_validation_errors(s, app)
  File "/usr/lib/python2.5/site-packages/django/core/management/validation.py", line 51, in get_validation_errors
    if f.prepopulate_from is not None and type(f.prepopulate_from) not in (list, tuple):
AttributeError: 'AutoField' object has no attribute 'prepopulate_from'

Change History (2)

comment:1 by Gary Wilson, 17 years ago

Description: modified (diff)

fixed description formatting

comment:2 by Russell Keith-Magee, 17 years ago

Resolution: fixed
Status: newclosed

(In [5921]) Fixed #5196 -- Merged over changes to validation.py that didn't get merged correctly in [5918].

Note: See TracTickets for help on using tickets.
Back to Top