Ok, figured it. I have an admin folder as well as admin.py so they're 
conflicting. 

Removing it solved the issue and Retailer now appears in the admin 
interface. 

Thanks for the debugging steps!

Cheers,

Tom

On Wednesday, 13 August 2014 14:38:51 UTC+1, Thomas Brightwell wrote:
>
> Yes, have an __init__.py file. And yes, works fine importing.
>
> bash-3.2$ ./manage.py shell
>
> Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
>
> In [1]: import webapp.admin
>
> In [2]: 
>
>
> webapp directory listing:
>
> bash-3.2$ ls
>
> __init__.py admin admin.pyc item migrations models.pyc templates tests 
> view
>
> __init__.pyc admin.py fixtures locale models.py search templatetags util 
> views.pyc
>
> On Wednesday, 13 August 2014 14:34:53 UTC+1, Collin Anderson wrote:
>>
>> Do you have a webapp/__init__.py file? Can you import webapp.admin in 
>> ./manage.py shell? 
>>
>

-- 
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/f78b4884-8ead-441e-9c73-3e95e11910b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to