Re: problems with tutotial !?

2007-08-28 Thread Sheriff26
i have try'd to go to url: http://192.168.1.1:8800/admin/polls/poll/ and i recive this error: AttributeError at /admin/polls/poll/ 'NoneType' object has no attribute 'manager' Request Method: GET Request URL:http://192.168.1.1:8800/admin/polls/poll/ Exception Type:

Re: problems with tutotial !?

2007-08-28 Thread Sheriff26
no! I don't arrive at that part of tutorial yet. and is very strange for me. I started from the beggining. When I change from: class Admin: pass in to class Admin: fields = ( (None, {'fields': ('pub_date', 'question')}), ) it dissapear from admin. If I change it

Re: problems with tutotial !?

2007-08-28 Thread arcr. .....
Hi Sheriff, Have you edit the view.py and urls.py? On 8/28/07, Sheriff26 <[EMAIL PROTECTED]> wrote: > > > Hi. > > I'm new here. I try to follow the tutorial, but I have some problems. > > When I changed from (tutorial part two): > > class Choice(models.Model): > poll =

problems with tutotial !?

2007-08-28 Thread Sheriff26
Hi. I'm new here. I try to follow the tutorial, but I have some problems. When I changed from (tutorial part two): class Choice(models.Model): poll = models.ForeignKey(Poll) choice = models.CharField(max_length=200) votes = models.IntegerField() TO class Choice(models.Model):