/tests/regressiontests/bug8245/admin.py
Python | 7 lines | 4 code | 3 blank | 0 comment | 0 complexity | 7dfab00f4c0f6e8e7b8f7e9da684a8d5 MD5 | raw file
Possible License(s): BSD-3-Clause
- from django.contrib import admin
- from models import Story
- admin.site.register(Story)
- raise Exception("Bad admin module")