Opened 8 years ago

Closed 8 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: UI/UX:

Description (last modified by gwilson)

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 Changed 8 years ago by gwilson

  • Description modified (diff)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

fixed description formatting

comment:2 Changed 8 years ago by russellm

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

(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