This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
Watch
1
Star
0
Fork
0
You've already forked django
mirror of
https://github.com/django/django.git
synced
2024-12-23 09:36:06 +00:00
Code
Issues
25
Releases
Wiki
Activity
705591508d
django
/
tests
/
bug8245
/
models.py
6 lines
102 B
Python
Raw
Normal View
History
Unescape
Escape
Fixed #8245 -- Added a LOADING flag to autodiscover to prevent an admin.py module with errors from raising a spurious AlreadyRegistered exception in a subsequent call to autodiscover. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 18:25:24 +00:00
from
django
.
db
import
models
Convert much of the regression tests to use absolute imports. There's still work to be done though. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13 18:51:33 +00:00
Fixed #8245 -- Added a LOADING flag to autodiscover to prevent an admin.py module with errors from raising a spurious AlreadyRegistered exception in a subsequent call to autodiscover. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 18:25:24 +00:00
class
Story
(
models
.
Model
)
:
title
=
models
.
CharField
(
max_length
=
10
)
Reference in New Issue
Copy Permalink