#3538: [Patch] Add get_FOO_basename() for FileFields
--------------------------------------------------+-------------------------
Reporter:  Herbert Poul <[EMAIL PROTECTED]>  |       Owner:  adrian             
        
  Status:  new                                    |   Component:  Core 
framework             
 Version:  SVN                                    |    Keywords:  filefield 
basename filename
   Stage:  Unreviewed                             |   Has_patch:  1             
             
--------------------------------------------------+-------------------------
 It is currently only possible to retrieve absolute pathname or URL of an
 uploaded file, but not it's basename..(ie. bare filename without any path)
 - imho this is a very common need.. and i checked dozend of times before
 believing that it's not already there (i hope i didn't miss it though ;) )
 
 this patch adds a get_FOO_basename() which looks exactly like the existing
 get_FOO_url() and get_FOO_filename() methods .. and returns only the bare
 filename.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3538>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to