Hi,
I made a multi choice quiz using django and was able to deploy it at:
http://mattsmith.org.nz/django/test
Thanks to the community for making these tools available.
I am a self-taught programmer, this is the first time I have tried any
web development so please be patient. I always find these groups
intimidating but I really feel I have made a decent RTFM effort before
making this post.
Here are some things I know nothing about:
Apache configuration.
How http actually works.
Up until now I've been serving non-dynamic content the usual way. I
apt-got installed apache2, worked out /var/www was the root, followed
the index.html convention and that worked fine. Now I feel I'm stuck
between that old way of doing things and the django/wsgi way which I
can't get my head around even after reading the docs. The development
server experience hasn't helped me much when it comes to deployment.
I wanted to connect the quiz to http://mattsmith.org.nz/test instead of
http://mattsmith.org.nz/django/test but I couldn't see how to do that.
I also want to convert the whole site to django so I can use child
templates, but I cant work this out either.
I guess my main question is this:
Under the old scheme if someone types just my domain into their browser
they get $DOCUMENT_ROOT/index.html, simple. What is the equivalent for
the django/wsgi setup.? What do you put in urls.py?
After reading the docs (they all say different things) I ended up with
the following setup:
/var/www/{oldStuff}
/var/django/dogscience/apache/django.wsgi
To help you help me you can see the following files from my system at
http://mattsmith.org.nz/pleasehelp
/etc/apache2/httpd.conf
/var/django/dogscience/settings.py
/var/django/dogscience/urls.py
/var/django/dogscience/apache/django.wsgi
Thank you,
--
Matt Smith
http://mattsmith.org.nz
--
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.