Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion #12618: MethodDecoratorAdaptor raises ValueError on entries with slugs using certain words.
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Django  
View profile  
 More options Jan 15 2010, 12:27 pm
From: "Django" <nore...@djangoproject.com>
Date: Fri, 15 Jan 2010 17:27:40 -0000
Local: Fri, Jan 15 2010 12:27 pm
Subject: [Django] #12618: MethodDecoratorAdaptor raises ValueError on entries with slugs using certain words.
#12618: MethodDecoratorAdaptor raises ValueError on entries with slugs using
certain words.
---------------------------+----------------------------------------------- -
 Reporter:  alan           |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  SVN      
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+----------------------------------------------- -
 Having created a django web app mostly as a learning project, I've found
 that users can't use slugs that start with the words 'test' or 'echo.' I
 imagine there are others. For the moment, I've hacked around this by
 appending a '1' to slugs that match certain regular expressions, which is
 obviously silly.

 == http://www.foobook.org/neoxic/scraps/test1/ ==

 The above ''would'' fail with a traceback like the following if the '1'
 were removed from the end of the slug. This happens both in dev and
 production with apache2 and mod_python. I'm able to pull up the slug at
 the shell with a query like

 {{{ Scrap.objects.get(url_title='test', user__username='neoxic') }}}

 == http://dpaste.com/145683/ ==

--
Ticket URL: <http://code.djangoproject.com/ticket/12618>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.