PageRenderTime 344ms CodeModel.GetById 151ms app.highlight 1ms RepoModel.GetById 190ms app.codeStats 1ms

/tests/regressiontests/bug8245/admin.py

https://code.google.com/p/mango-py/
Python | 7 lines | 4 code | 3 blank | 0 comment | 0 complexity | 7dfab00f4c0f6e8e7b8f7e9da684a8d5 MD5 | raw file
1from django.contrib import admin
2
3from models import Story
4
5
6admin.site.register(Story)
7raise Exception("Bad admin module")