I am using the model with FileField to deal with file uploading. Now the files can be uploaded successfully. However, there is one more small improvement I want to make, which is to create folder for the user with the username. Here is the code I've tried class UserFiles(models.Model): user = models.OneToOneField(User) file = models.FileField(upload_to='files/users/user.username/%Y_%m_%d/') this w

