Re: filepath (system file system path) field

2010-10-22 Thread BigBlogMaker
look like this solved the problem
a source in Russian

http://translate.google.ru/translate?js=n=_t=ru=UTF-8=2=1=ru=en=http://blog.vernart.ru/programming/python/django/sobstvennye-filepathfield-dlya-django-spisok-direktorij/


On 23 сен, 01:07, pixelcowboy  wrote:
> That field seems to grab all the files in a given directory according
> to a set filtering. I actually just want to register the actual
> directory names, and possible launch a file picker for the user to
> select it.
>
> On Sep 22, 2:30 am, Nuno Maltez  wrote:
>
>
>
> > On Tue, Sep 21, 2010 at 6:17 PM, pixelcowboy  
> > wrote:
> > > Hi, I have seen this asked before here (without answers), but I wanted
> > > to know how to go on about creating a field that stores filepath names
> > > from the client filesystem, so I wanted to check if someone could
> > > recommend the best apporach: Creating a custom field perhaps? Or
> > > perhaps extending the filefield? Or maybe just use a charfiled and do
> > > it all in validation? What do you guys think?
>
> > Hmmm something like 
> > this?http://docs.djangoproject.com/en/dev/ref/models/fields/#filepathfield
>
> > Nuno

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: filepath (system file system path) field

2010-09-22 Thread pixelcowboy
That field seems to grab all the files in a given directory according
to a set filtering. I actually just want to register the actual
directory names, and possible launch a file picker for the user to
select it.

On Sep 22, 2:30 am, Nuno Maltez  wrote:
> On Tue, Sep 21, 2010 at 6:17 PM, pixelcowboy  wrote:
> > Hi, I have seen this asked before here (without answers), but I wanted
> > to know how to go on about creating a field that stores filepath names
> > from the client filesystem, so I wanted to check if someone could
> > recommend the best apporach: Creating a custom field perhaps? Or
> > perhaps extending the filefield? Or maybe just use a charfiled and do
> > it all in validation? What do you guys think?
>
> Hmmm something like 
> this?http://docs.djangoproject.com/en/dev/ref/models/fields/#filepathfield
>
> Nuno

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: filepath (system file system path) field

2010-09-22 Thread Nuno Maltez
On Tue, Sep 21, 2010 at 6:17 PM, pixelcowboy  wrote:
> Hi, I have seen this asked before here (without answers), but I wanted
> to know how to go on about creating a field that stores filepath names
> from the client filesystem, so I wanted to check if someone could
> recommend the best apporach: Creating a custom field perhaps? Or
> perhaps extending the filefield? Or maybe just use a charfiled and do
> it all in validation? What do you guys think?

Hmmm something like this?
http://docs.djangoproject.com/en/dev/ref/models/fields/#filepathfield


Nuno

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



filepath (system file system path) field

2010-09-21 Thread pixelcowboy
Hi, I have seen this asked before here (without answers), but I wanted
to know how to go on about creating a field that stores filepath names
from the client filesystem, so I wanted to check if someone could
recommend the best apporach: Creating a custom field perhaps? Or
perhaps extending the filefield? Or maybe just use a charfiled and do
it all in validation? What do you guys think?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.