#8466: FileField path url dumpdata/loaddata issue
------------------------------------+---------------------------------------
          Reporter:  Ian Ward       |         Owner:  nobody            
            Status:  new            |     Milestone:  1.0               
         Component:  Serialization  |       Version:  SVN               
        Resolution:                 |      Keywords:  FileField path url
             Stage:  Unreviewed     |     Has_patch:  0                 
        Needs_docs:  0              |   Needs_tests:  0                 
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by cgrady):

 I can't seem to duplicate this - the xml serializer had an old bug where
 it used get_fieldname_url() instead of just fieldname, but that was fixed
 (#5574)

 with current trunk, I get this on serializing filefields:

 {{{
 <?xml version="1.0" encoding="utf-8"?>
 <django-objects version="1.0">
   <object pk="1" model="locked.filetest">
     <field type="FileField" name="test">test/en-NG_.msi</field>
   </object>
 </django-objects>
 }}}

 which does not include MEDIA_ROOT or MEDIA_URL

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8466#comment:2>
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