diff --git a/tests/regressiontests/admin_views/models.py b/tests/regressiontests/admin_views/models.py
index 8dc61e3..9f6fb0b 100644
a
|
b
|
admin.site.register(Question)
|
896 | 896 | admin.site.register(Answer) |
897 | 897 | admin.site.register(PrePopulatedPost, PrePopulatedPostAdmin) |
898 | 898 | admin.site.register(ComplexSortedPerson, ComplexSortedPersonAdmin) |
| 899 | # Since contrib.comments is in INSTALLED_APPS we need it's admin too |
| 900 | from django.contrib.comments import admin |
diff --git a/tests/urls.py b/tests/urls.py
index dda0b2e..7a5d76f 100644
a
|
b
|
|
1 | 1 | from django.conf.urls.defaults import * |
2 | 2 | |
| 3 | # Fix problems with cached urlconfs and reverse: |
| 4 | from regressiontests.admin_views import customadmin, models |
| 5 | from regressiontests.generic_inline_admin import models |
| 6 | |
3 | 7 | urlpatterns = patterns('', |
4 | 8 | # test_client modeltest urls |
5 | 9 | (r'^test_client/', include('modeltests.test_client.urls')), |