Can it really be that hard?!

Reply

Join Date: Nov 2008
Posts: 2
Reputation: wangzi is an unknown quantity at this point 
Solved Threads: 0
wangzi wangzi is offline Offline
Newbie Poster

Can it really be that hard?!

 
0
  #1
Nov 19th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,006
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 928
Moderator
vegaseat's Avatar
vegaseat vegaseat is online now Online
DaniWeb's Hypocrite

Re: Can it really be that hard?!

 
0
  #2
Nov 19th, 2008
So what does your initial code look like?
What error messages are you getting?
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 2
Reputation: wangzi is an unknown quantity at this point 
Solved Threads: 0
wangzi wangzi is offline Offline
Newbie Poster

Re: Can it really be that hard?!

 
0
  #3
Nov 19th, 2008
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....
Last edited by wangzi; Nov 19th, 2008 at 9:44 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC