Re: Models Tutorial Django

2010-05-11 Thread HelloWorld
Hi Jirka Thanks for your answer! By structure I mean, I just followed the tutorial and am not sure if the position and order of these tutorial code is right in my code: class Poll(models.Model): # ... def __unicode__(self): return self.question class Choice(models.Model): #

Models Tutorial Django

2010-05-11 Thread HelloWorld
Hi everybody I have to excuse myself for the newbie question which is following now: Now I am doing the Poll/Models Tutorial on this page http://docs.djangoproject.com/en/dev/intro/tutorial01/ and I am stuck at this point: Wait a minute. is, utterly, an unhelpful representation of this object

Re: Django Sqlite

2010-05-11 Thread HelloWorld
Thanks a million Romain!! It worked. I thought about just naming it, but in the tutorial it said put the path and I didnt want to mess up things. Thanks again!! Best Z. On May 11, 10:37 am, Romain Gaches wrote: > Le 11 mai 2010 à 10:30, HelloWorld a écrit : > > > Hi Every

Django Sqlite

2010-05-11 Thread HelloWorld
Hi Everybody I installed Django and wanted to test what I can do by using Sqlite. It is unclear for me how this can be achieved and therefore have the following open questions: 1. Do I need to fill in the settings.py any other info than: django.db.backends.sqlite3 at ENGINE What do I/ Do I need

Re: MacPorts installation, Django $PATH issue

2010-05-10 Thread HelloWorld
worthwhile for macports or anybody who used macports, to post the correct way to install with macports and What the benefit is to use macports over django. Best Z. On May 10, 1:13 pm, HelloWorld wrote: > Thanks a lot backdoc!! > > I found the site packages you mentioned, but neither P

Re: MacPorts installation, Django $PATH issue

2010-05-10 Thread HelloWorld
ly using.  Also, if you type python -V (I think it's a capital > "V") at the command line, it should tell you which version you are using. > > > > On Thu, May 6, 2010 at 3:47 AM, HelloWorld wrote: > > Hi everybody > > > I just got Django installed (to

MacPorts installation, Django $PATH issue

2010-05-06 Thread HelloWorld
Hi everybody I just got Django installed (to test it) via Macports and I have Python 2.5 and 2.6 installed on a MacBook running 10.6.3. I did everything the installation guide told me, but after typing: python manage.py runserver I get this error: File "manage.py", line 2, in from django.