which is fine, but you've missed the only step that actually makes the
folder a python module.

do this or it'll never import
    touch __init__.py



On Aug 22, 8:32 am, kenneth gonsalves <law...@thenilgiris.com> wrote:
> On Sun, 2011-08-21 at 08:22 -0700, Jim wrote:
>
> > Here is the story. I created a site, mysite, with this command
> > django-admin startproject mysite. Then, under the directory mysite/, I
> > created an app named apps with this command ./manage.py startapp apps.
> > apps is meant to hold all applications for mysite. Now, here comes the
> > question:  How do I create a sub-app under apps with manage.py
> > directly?
>
> one way to do this:
> cd apps
> mkdir subapp
> cd subapp
> touch models.py
> touch views.py
> touch tests.py
>
> --
> regards
> Kenneth Gonsalves

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to