Hi, I'm a beginner with Django, and I'm trying to figure out how to work with FieldFiles.
One of my models has a FileField in which the user must submit a .bed file. I use another library in python to analyze the .bed file.
The .bed file is saved to a specific directory on disk, and I want
file_on_disk = Bed('/Users/.../media/statistics.bed')
where statistics.bed is the name of the file, and media is the directory all files are saved to. How would I construct this line of code?
Thanks!
-- One of my models has a FileField in which the user must submit a .bed file. I use another library in python to analyze the .bed file.
The .bed file is saved to a specific directory on disk, and I want
file_on_disk = Bed('/Users/.../media/statistics.bed')
where statistics.bed is the name of the file, and media is the directory all files are saved to. How would I construct this line of code?
Thanks!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9b1f70f6-da94-487b-8db5-601ce5b4ea9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment