Hi, RavenJade2006 wrote: > I am extremely knew at this and recently had a site built in Django. > Now I am having to add a URL to a subdirectory on the same domain. > The forums link actually goes to a subdirectory that holds all the > files for that forum, so I know it can be done. I just cant seem to > find the right spot I am supposed to be editing in order not to see > the 404 page when I look up the URL and instead see the test index > page in that directory. Example: > > http://www.yoursite/flatpage/ takes you to a flatpage on the site > where http://www.yoursite/forum/ takes you to the actual directory / > forum/ on the server. > > I have looked in the URLS.py, Settings.py, Manage.py and searched the > Djangl site for my answer but it just seems to be stumping me. If > anyone could help that would be great! Thanks!
For development purposes, see the technique described here: http://www.djangoproject.com/documentation/static_files/ For production use, serve your static (i.e. no Django-views) using a web server like Apache, Lighttpd, or nginx. -Rajesh D > > -- Raven --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---