| | |
Can it really be that hard?!
![]() |
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
So here's my question. I'm new to python and am near lost. I've been through a few tutorials and still don't feel confident. Sure I can do whatever the tutorials say, but it's a different story when I do the whole thing myself.
Here's what I would like to do just to start:
I want to make two related websites. The first page will have a list of names that are numbered. Once a name is clicked on it will bring me to the second page where it will have information on that person (four columns: ID, phone number, hobbies and anything else).
This HAS TO BE easy. With python being recommended so highly to me on pure ease of use, why can I not figure this out?!
Any/all help is appreciated!
thx
Here's what I would like to do just to start:
I want to make two related websites. The first page will have a list of names that are numbered. Once a name is clicked on it will bring me to the second page where it will have information on that person (four columns: ID, phone number, hobbies and anything else).
This HAS TO BE easy. With python being recommended so highly to me on pure ease of use, why can I not figure this out?!
Any/all help is appreciated!
thx
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
I fixed this problem. Here's the error message I was receiving when I did runserver, validate, etc.
C:\website\IT>manage.py runserver
Validating models...
[...]
File "C:\website\IT\..\IT\packages\models.py", line 5, in Category
topic = models.ForeignKey(Package, related_name="categories")
NameError: name 'Package' is not defined
THIS IS REALLY THE PROBLEM:
The problem I'm having is figuring out how everything relates. By that I mean it seems like the files from my main folder (manage, settings urls, views) pull and receive from the files inside my 'packages' folder. If that's not very clear I understand...lol!
thx guys....
C:\website\IT>manage.py runserver
Validating models...
[...]
File "C:\website\IT\..\IT\packages\models.py", line 5, in Category
topic = models.ForeignKey(Package, related_name="categories")
NameError: name 'Package' is not defined
THIS IS REALLY THE PROBLEM:
The problem I'm having is figuring out how everything relates. By that I mean it seems like the files from my main folder (manage, settings urls, views) pull and receive from the files inside my 'packages' folder. If that's not very clear I understand...lol!
thx guys....
Last edited by wangzi; Nov 19th, 2008 at 9:44 pm.
![]() |
Similar Threads
- Problem installing/ghosting new hard drive (Storage)
- Value Hard Drives (Storage)
- DOS C++, pulling boot order and hard drive parameters, (C++)
- Help: Weird Hard drive space flucuation? (Windows NT / 2000 / XP)
- Solid Hard Drive Light (Storage)
Other Threads in the Python Forum
| Thread Tools | Search this Thread |
address aliased anydbm app bash beginner bits calling casino changecolor cipher clear conversion coordinates corners count cturtle curves definedlines development dictionary digital dynamic events examples excel external feet file float format function gui handling hints homework iframe images import input java keycontrol line linux list lists loan loop matching mouse multiple number numbers output parsing path port prime programming projects py py2exe pygame pymailer python random rational raw_input recursion recursive scrolledtext searchingfile shebang signal singleton split string strings tails terminal text threading time tlapse tooltip tuple tutorial type ubuntu unicode url urllib urllib2 valueerror variable web-scrape whileloop word wxpython xlwt






