Collin,

Thanks for the help. I updated my admin.py with this (also been trying 
other variations of the register):

from django.contrib import admin
from .models import Retailer

@admin.register(Retailer)
class RetailerAdmin(admin.ModelAdmin):
    pass

print 'foo'
raise Exception()

Restarted my webserver and http://localhost:8000/admin/django_admin/ loads 
without error. I have debugged right through the loading on startup and 
checked django-admin is attempting a module import of the webapp.admin, and 
it does seem to be trying.

On Wednesday, 13 August 2014 13:58:17 UTC+1, Collin Anderson wrote:
>
> Wow. Is the admin.py file actually getting run? (try a print statement or 
> try throwing an exception)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b8548658-e084-463d-b64d-16f852de1792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to