git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All of my work from commits: dd4a194, 692644a, 4a60203, 5de46bc, 152042d, 64a2d4e...
[philo.git]
/
contrib
/
gilbert
/
__init__.py
diff --git
a/contrib/gilbert/__init__.py
b/contrib/gilbert/__init__.py
index
c55f250
..
de7dbc1
100644
(file)
--- a/
contrib/gilbert/__init__.py
+++ b/
contrib/gilbert/__init__.py
@@
-13,12
+13,12
@@
def autodiscover():
for app in settings.INSTALLED_APPS:
mod = import_module(app)
try:
for app in settings.INSTALLED_APPS:
mod = import_module(app)
try:
- before_import_model_r
egistry = copy.copy(site.model_registry
)
- before_import_
plugin_registry = copy.copy(site.plugin_registry
)
+ before_import_model_r
outers = copy.copy(site.model_routers
)
+ before_import_
core_router = copy.copy(site.core_router
)
import_module('%s.gilbert' % app)
except:
import_module('%s.gilbert' % app)
except:
- site.model_r
egistry = before_import_model_registry
- site.
plugin_registry = before_import_plugin_registry
+ site.model_r
outers = before_import_model_routers
+ site.
core_router = before_import_core_router
if module_has_submodule(mod, 'gilbert'):
raise
\ No newline at end of file
if module_has_submodule(mod, 'gilbert'):
raise
\ No newline at end of file