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/bcac7b77-293c-47b7-afac-e3e2a13a5c02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to