Hi all

Having got the tutorial working I have been looking at the docs
covering what's meant by a site, projects, apps etc. It looks like
there is a lot to read there to really understand the framework. Anyhow
what I'd like to do is to understand how to remove the dependencies on
the project directory from the python code.

Here is a grep of the project mysite3 and application poll.

django_tutorial/mysite3$ grep -R mysite3 *
polls/views.py:from mysite3.polls.models import Poll, Choice
polls/urls.py:urlpatterns = patterns('mysite3.polls.views',
settings.py:ROOT_URLCONF = 'mysite3.urls'
settings.py:    "/home/me//django_tutorial/mysite3/templates"
settings.py:    'mysite3.polls',
urls.py:urlpatterns = patterns('mysite3.polls.views',
urls.py:    (r'^polls/', include('mysite3.polls.urls')),
django_tutorial/mysite3$

Im using the development server not apache.
One should be able to rename mysite3/ to say tute_part3/ and everything
under it still work by just starting the server from within the same
directory as settings.py

Mike


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to