Cool Thanks for the replies. I think that Luke's snippet find is going
to work. Unique is also a good way thanks.
On Jan 31, 5:15 pm, "James Punteney" <[EMAIL PROTECTED]> wrote:
> > My question: what if I
> > have a weblog title that is identical to a post that I made 3 years
> > ago and I didn
> My question: what if I
> have a weblog title that is identical to a post that I made 3 years
> ago and I didn't realize it? when saving, is the slugfield smart
> enough to acknowledge that there is a duplicate entry.
The slug field itself doesn't force uniqueness, but you can use
"unique=True"
Found this... http://www.djangosnippets.org/snippets/512/
On Jan 31, 1:50 pm, Chris <[EMAIL PROTECTED]> wrote:
> I have a blog that has a slug field that gets pre-populated from the
> title of the blog. I then use the slug name as a part of the url. eg
> -www.xyz.com/weblog/weblog-title-goes-her
I have a blog that has a slug field that gets pre-populated from the
title of the blog. I then use the slug name as a part of the url. eg -
www.xyz.com/weblog/weblog-title-goes-here/. My question: what if I
have a weblog title that is identical to a post that I made 3 years
ago and I didn't realiz
4 matches
Mail list logo