Re: SlugField With URL

2011-03-23 Thread nadaeivar
Good Envoyé par mon BlackBerry® smartphone de Tigo -Original Message- From: Tsolmon Narantsogt Sender: django-users@googlegroups.com Date: Wed, 23 Mar 2011 20:01:32 To: Reply-To: django-users@googlegroups.com Subject: Re: SlugField With URL I'm waiting On Wed, Mar 23, 2011

Re: SlugField With URL

2011-03-23 Thread nadaei...@gmail.com
class Partenaires(models.Model): PARTENAIRE_TYPE = ( (u'LIG', u'Light'), (u'PRE', u'Premium'), ) email = models.EmailField('Email') slug = models.SlugField(unique= True) user = models.ForeignKey(User, unique=True) nom = models.CharField(u'Nom', max_length=10

Re: SlugField With URL

2011-03-23 Thread Tsolmon Narantsogt
+0800 > *To: * > *ReplyTo: * django-users@googlegroups.com > *Subject: *Re: SlugField With URL > > Can you send me some example > > On Wed, Mar 23, 2011 at 4:51 PM, wrote: > >> Hi >> In url.py >> >> Envoyé par mon BlackBerry® smartphone de Tigo &g

Re: SlugField With URL

2011-03-23 Thread nadaeivar
Ok give me few minutes Envoyé par mon BlackBerry® smartphone de Tigo -Original Message- From: Tsolmon Narantsogt Sender: django-users@googlegroups.com Date: Wed, 23 Mar 2011 16:56:05 To: Reply-To: django-users@googlegroups.com Subject: Re: SlugField With URL Can you send me some

Re: SlugField With URL

2011-03-23 Thread Tsolmon Narantsogt
011 16:49:23 +0800 > *To: * > *ReplyTo: * django-users@googlegroups.com > *Subject: *SlugField With URL > > Hello comrades > > I defined a some dynamic pages. > > The slug should look like : > > http://localhost:8000/store/{shoes} > > How should i setup my urlp

SlugField With URL

2011-03-23 Thread Tsolmon Narantsogt
Hello comrades I defined a some dynamic pages. The slug should look like : http://localhost:8000/store/{shoes} How should i setup my urlpatterns ? Thanks Tsolmon. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: SlugField With URL

2011-03-23 Thread Tsolmon Narantsogt
And how to create generic view. > Thanks > Tsolmon. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr.

Re: SlugField With URL

2011-03-23 Thread nadaeivar
Hi In url.py Envoyé par mon BlackBerry® smartphone de Tigo -Original Message- From: Tsolmon Narantsogt Sender: django-users@googlegroups.com Date: Wed, 23 Mar 2011 16:49:23 To: Reply-To: django-users@googlegroups.com Subject: SlugField With URL Hello comrades I defined a some