Re: custom widget necessary?

2008-08-25 Thread peter_g


Thank you, Norman!

> > Do you have links to examples?
>
> http://www.djangosnippets.org/snippets/937/

--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



Re: custom widget necessary?

2008-08-25 Thread Norman Harman

peter_g wrote:
> Hi!
> 
> I have datetime fields like "createdate" or "modified" in some of my
> models.
> Do I need to create custom widgets if i want their time and date to
> be displayed in the admin area (change-form) and not the default
> editable representation (text fields, with "now" etc. shortcuts)?
> 
> Like, e.g.
> 
> Created: 08/25/2008 09:20am
> 
> Do you have links to examples?

http://www.djangosnippets.org/snippets/937/


-- 
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
___
It's August!  Keep your cool with the Statesman.  Check out our hot
deals in print and online for back-to-school savings and more!

--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



custom widget necessary?

2008-08-25 Thread peter_g

Hi!

I have datetime fields like "createdate" or "modified" in some of my
models.
Do I need to create custom widgets if i want their time and date to
be displayed in the admin area (change-form) and not the default
editable representation (text fields, with "now" etc. shortcuts)?

Like, e.g.

Created: 08/25/2008 09:20am

Do you have links to examples?

Thanks!
Peter.


--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---