Hello everyone. I'm sure this question has been asked a million times,
but I'm going to ask it again, because I'm starting to get *really*
frustrated with trying to get Django up and running.

I would like to use the built-in development server, as getting
mod_python and Apache configured is simply impossible from my best
estimation. I've followed every tutorial I can find on the Internet,
and after 3 days of restarting Apache, I still get the "Could not
import settings mysite.settings" error. Ugh.

So, chin up, moving on. Here is my website's directory structure:

/mysite
  /public
    /images
    /css
    /javascripts

  /templates
    public.html
    home_page.html

views.py
settings.py
urls.py
__init__.py


When I start up the dev server using manage.py runserver, my
home_page.html template will render, but no images, no css, etc.

How can I:

1. Tell the development server what the root of the website is.
2. Where my images, css and javascript files are.

I have put: (r'^public/../(?P<path>.*)$', 'django.views.static.serve',
{'document_root': '/public/../images'}),

in my URLconf, but, it's still not happy.

Can someone please, Please, PLEASE show me what I'm doing wrong? I've
been doing web development for 10 years using asp, asp.net, php, cold
fusion, rails and java, but for the life of me, I can't seem to get
Django to do what it's supposed to do.

I would very much like to learn and use this great framework, but so
far, getting out of the gate has been really tough and I'd really
appreciate some help. I'm in Austin, Texas, and if there's anyone
local that would be so gracious as to help me get started with some
face-to-face tutoring, I'd be more than happy to compensate you for
your time.

Kind regards,
Brandon Taylor
--~--~---------~--~----~------------~-------~--~----~
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