Author Topic: Django Help  (Read 4303 times)

0 Members and 1 Guest are viewing this topic.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Django Help
« 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
« Last Edit: March 25, 2011, 11:13:43 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Django Help
« Reply #1 on: March 25, 2011, 11:28:46 pm »
Hm I'm learning django right now. I'll give it a shot, but no guarantees.
In-progress: Graviter (...)

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Django Help
« Reply #2 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
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Django Help
« Reply #3 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.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Django Help
« Reply #4 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)
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Django Help
« Reply #5 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)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Django Help
« Reply #6 on: March 26, 2011, 05:48:50 pm »
I see, thanks for clarifying.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Django Help
« Reply #7 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
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Django Help
« Reply #8 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.
In-progress: Graviter (...)

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Django Help
« Reply #9 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
« Last Edit: March 26, 2011, 06:44:11 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y