Omnimaga

General Discussion => Technology and Development => Computer Programming => Topic started by: ruler501 on March 25, 2011, 10:49:48 pm

Title: Django Help
Post by: ruler501 on March 25, 2011, 10:49:48 pm
i have been following through the Django tutorial up to this point but now most things are not working. These are features That i really need to see how to make work. I am going to put all of my code into a ip and upload it here in a minute. Any help is appreciated

For people wo have know clue what Django is:
It is a Web framework for python. i need to learn it to program a website for my science class(I get such wonderful Computer projects in this class) The website is here: http://www.djangoproject.com/

EDIT: Attached ip with all code. I keep it on my flash drive so that is why all the paths are E:\
EDIT2: I fixed the zip i had messed up the folder set-up. That solved one of my problems to fix. Now the templates don't work though
Title: Re: Django Help
Post by: leafy on March 25, 2011, 11:28:46 pm
Hm I'm learning django right now. I'll give it a shot, but no guarantees.
Title: Re: Django Help
Post by: ruler501 on March 26, 2011, 02:54:18 pm
Thanks. I think I solved it. At the least it was working last night.

I am now starting on my own program
Title: Re: Django Help
Post by: DJ Omnimaga on March 26, 2011, 04:04:32 pm
I never heard of this language. SOmetimes at school we learn languages we never heard about before and that aren't very popular, but in some cases we can run into languages that are fun. That reminds me how in College we were learning Lingo for a while.
Title: Re: Django Help
Post by: ruler501 on March 26, 2011, 05:34:24 pm
Its not really a language except for the template part. It is a very useful extension to python.

The template language it uses is an XML-HTML-Python Hybrid with less power than python looks like HTML organied like XML. It is supposed to be very useful(If you can understand it)
Title: Re: Django Help
Post by: Munchor on March 26, 2011, 05:35:01 pm
I never heard of this language. SOmetimes at school we learn languages we never heard about before and that aren't very popular, but in some cases we can run into languages that are fun. That reminds me how in College we were learning Lingo for a while.

It's a library for Python for use in Online stuff (python servers)
Title: Re: Django Help
Post by: DJ Omnimaga on March 26, 2011, 05:48:50 pm
I see, thanks for clarifying.
Title: Re: Django Help
Post by: ruler501 on March 26, 2011, 05:52:24 pm
Does anyone know any good hosting site. I need one for my website I am making(school project). They don't have anything to give me though. i need one close to free preferably free that will let me use python with django
Title: Re: Django Help
Post by: leafy on March 26, 2011, 05:53:18 pm
I think 000webhost is python-compatible. I'm not sure, since I switched to my friend's server so I could use django on that, but python version at least 3 should be installed.
Title: Re: Django Help
Post by: ruler501 on March 26, 2011, 05:55:01 pm
I nee python 2.x(4<=x<=7) support django doesn't run on 3 yet.

000webhost doesn't say they support python on the website