Re: Model that has more options

2006-04-13 Thread yi huang
maybe you have to write a custom FormFieldOn 4/13/06, beewee <[EMAIL PROTECTED]> wrote:
Hm, if you don't understand me, I'll try to explain it more clearly:I've a blog-like news site where some users can publish news using thedjango admin panel. They can enter thome things, for example subject,
introduction, text etc (and this works finde already). But now I wantthat it is possible to declare an icon for the messages: The usersshould be able either to upload a new image or to enter an url to animage or to choose an image using a combobox.
When submitting django should select the filled field and insert itinto the database.Thank you for your help,Benjamin Wiegand-- http://codeplayer.blogbus.com/
--~--~-~--~~~---~--~~
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@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/django-users  -~--~~~~--~~--~--~---



Re: Model that has more options

2006-04-13 Thread beewee

Hm, if you don't understand me, I'll try to explain it more clearly:
I've a blog-like news site where some users can publish news using the
django admin panel. They can enter thome things, for example subject,
introduction, text etc (and this works finde already). But now I want
that it is possible to declare an icon for the messages: The users
should be able either to upload a new image or to enter an url to an
image or to choose an image using a combobox.
When submitting django should select the filled field and insert it
into the database.

Thank you for your help,

Benjamin Wiegand


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Model that has more options

2006-04-12 Thread beewee

Hi,

I'm trying to create a model where the user can either upload an image
or enter a URL to an image or select an given image by a combobox.
How this would be possible? (I hope, I'm understandable...)

Thanks for your help,

Benjamin Wiegand


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---