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 back, it doesn't apear back in admin.
Why ? Is that normal ?
On Aug 28, 12:28 pm, "arcr. ....." <[EMAIL PROTECTED]> wrote:
> 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 = models.ForeignKey(Poll)
> > choice = models.CharField(max_length=200)
> > votes = models.IntegerField()
>
> > TO
>
> > class Choice(models.Model):
> > poll = models.ForeignKey(Poll, edit_inline=models.TABULAR,
> > num_in_admin=3)
> > choice = models.CharField(max_length=200, core=True)
> > votes = models.IntegerField(core=True)
>
> > the Polls have dissapierd from the admin page.
> > If I try to access it trough the url, I recive a Page Not Found 404
> > error.
>
> > I used only copy&paste. I have no idea where I miss'd ...
>
> > HELP !
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---