PageRenderTime 42ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): BSD-3-Clause
  1. from django.contrib import admin
  2. from models import Story
  3. admin.site.register(Story)
  4. raise Exception("Bad admin module")