Re: UUID for unique directory name

2014-08-25 Thread Amelie Bacle
Thanks for this, I was sure there were something to get access to the value of a field ! On Monday, August 25, 2014 4:00:23 PM UTC+2, Collin Anderson wrote: > > Roughly something like this: > > def dir_file(analysis, file_name): # should live outside your model > return '%s/%s' % (analysis.

UUID for unique directory name

2014-08-25 Thread Amelie Bacle
Hello everybody, I'm developing an app for the first time with Django and I have a problem with upload path and UUID. I have a form with 3 fields for uploading text files. So I want to save those 3 files in the same directory which have a unique name. First I did this a big random number but if

Re: Is Django the best for my web app ?

2014-05-16 Thread Amelie Bacle
> html with js should do without any added framework shebang. > > BUT, django, comes with an awesome community and loads of packages that > might help you a tonne when you want to grow your application or want to > create/add more products/features. > > On Thu, May 15, 20

Re: Is Django the best for my web app ?

2014-05-15 Thread Amelie Bacle
Ok thanks for your answers. Yeah maybe that best suits not here, I meant is Django able to do what I plan to do before I start studying the framework and loss time. Let's see the tutorial then ! On Thursday, May 15, 2014 11:33:05 AM UTC+2, Amelie Bacle wrote: > > Hello everyone, &g

Is Django the best for my web app ?

2014-05-15 Thread Amelie Bacle
Hello everyone, I have to do a web application at my work. I use to program with Python every day but never for web application. So I wanted to know if Django is the best choice for my problem. Here it is, in my application there will be only one form (with some file uploading). After the submi