Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

snippet

A collection of 1 post
Custom saving path for FileField
custom

Custom saving path for FileField

Saving FileFields is pretty annoying anyway (all the manual stuff, saving chunks by hand...). The top bother is actually the limited way of creating paths: In MEDIA_ROOT, only with strftime arguments. While this does limit the number of files in a directory, it's not as customisable as
Aug 30, 2010 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost