Re: Custom File Handling Through admin

2009-05-12 Thread rpupkin77
Thanks, I'll take a look, Brightcove is an enterprise video service based in Cambridge, MA, Quite impressive API if you have the money and don't want to use a traditional CDN. http://www.brightcove.com On May 12, 10:44 am, Karen Tracey wrote: > On Mon, May 11, 2009 at 5:45 PM, rpupkin77 wrote:

Re: Custom File Handling Through admin

2009-05-12 Thread Karen Tracey
On Mon, May 11, 2009 at 5:45 PM, rpupkin77 wrote: > > Hi, > > I need to have a FileField from a model handled differently than the > out of the box functionality, In short I need to add it to the a > Brightcove account through their API, can someone give me a really > brief rundown of how I would

Re: Custom File Handling Through admin

2009-05-11 Thread rpupkin77
NOTE: I don't need help with the Brightcove API, I have a Python library written for that, I need to intercept the file handler and use my BC logic and then insert the rest of the Meta Data into our DB. On May 11, 5:45 pm, rpupkin77 wrote: > Hi, > > I need to have a FileField from a model handl

Custom File Handling Through admin

2009-05-11 Thread rpupkin77
Hi, I need to have a FileField from a model handled differently than the out of the box functionality, In short I need to add it to the a Brightcove account through their API, can someone give me a really brief rundown of how I would do this? I know it is a broad question, but I am a little conf

Re: Custom file handling

2006-08-28 Thread Ilia Kantor
Works great! But probably the better way would be to make a special FileBrowserField. Such fixing is kind of hack.. > btw, I´m about to rewrite that script using jquery ... > > patrick > > Am 28.08.2006 um 20:11 schrieb [EMAIL PROTECTED]: > > You note > > > >> With adding the script AddFile

Re: Custom file handling

2006-08-28 Thread Ilia Kantor
Can I integrate that with ImageField (or its inheritants) ? > btw, I´m about to rewrite that script using jquery ... > > patrick > > Am 28.08.2006 um 20:11 schrieb [EMAIL PROTECTED]: > > You note > > > >> With adding the script AddFileBrowser.js to your model, you are > >> getting a link to the

Re: Custom file handling

2006-08-28 Thread patrickk
btw, I´m about to rewrite that script using jquery ... patrick Am 28.08.2006 um 20:11 schrieb [EMAIL PROTECTED]: > > You note >> With adding the script AddFileBrowser.js to your model, you are >> getting a link to the FileBrowser >> as well as an Image-Preview. > > How can I use it in my mode

Re: Custom file handling

2006-08-28 Thread patrickk
in your model use something like this: image = models.CharField('Image', help_text='FileBrowser: /images/ 2006/blog/', maxlength=200, blank=True, null=True) the script you mentioned searches for the help_text "FileBrowser" and the given directory (the directory is optional, of course). then,

Re: Custom file handling

2006-08-28 Thread ilia
You note > With adding the script AddFileBrowser.js to your model, you are getting a > link to the FileBrowser > as well as an Image-Preview. How can I use it in my model to have previews for image field ? I see init: function() { var helptext = document.getElementsByTagName('p');

Re: Custom file handling

2006-08-16 Thread patrickk
don´t know if this is of any help (I didn´t have the time to work on it lately, but we´re already using it): http://www.vonautomatisch.at/django/filebrowser/ patrick Am 16.08.2006 um 19:27 schrieb Nathan Ekstrom: > > Let me clarify I need to be able to do something like > > front_image = mod

Re: Custom file handling

2006-08-16 Thread Nathan Ekstrom
Let me clarify I need to be able to do something like front_image = model.ImageField(upload_to='plan_images/hp/p%id/lrg') and have %id be replaced with the models id field. Giving a final save path of something like /plan_images/hp/p1/lrg. I also want to create a preview size of the image and a

Re: Custom file handling

2006-08-16 Thread Jay Parlar
On 8/16/06, Nathan Ekstrom <[EMAIL PROTECTED]> wrote: > > Saving with the same name is fine I just need a custom way to specify > the directory. Well, my patch gets you that, but again, not from the Admin. Jay P. --~--~-~--~~~---~--~~ You received this message be

Re: Custom file handling

2006-08-16 Thread Nathan Ekstrom
Saving with the same name is fine I just need a custom way to specify the directory. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Re: Custom file handling

2006-08-15 Thread Ian Clelland
On 8/15/06, Nathan Ekstrom <[EMAIL PROTECTED]> wrote: > > Hey all, > I've tried searching the list for this but I probably don't know the > right key words to use. What I would like to do is customize the > behavior of the ImageField and FileField of models. Instead of saving > to media// I'd l

Re: Custom file handling

2006-08-15 Thread Jay Parlar
On 8/15/06, Nathan Ekstrom <[EMAIL PROTECTED]> wrote: > > Hey all, > I've tried searching the list for this but I probably don't know the > right key words to use. What I would like to do is customize the > behavior of the ImageField and FileField of models. Instead of saving > to media// I'd l

Custom file handling

2006-08-15 Thread Nathan Ekstrom
Hey all, I've tried searching the list for this but I probably don't know the right key words to use. What I would like to do is customize the behavior of the ImageField and FileField of models. Instead of saving to media// I'd like to be able to save it to a custom directory dependant on anoth