google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Admin text and File Browser placeholders #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The default TextInput placeholder generates a very narrow field and does
not use the admin styles. I would like to use the AdminTextInputWidget for
TextInput and AdminTextareaWidget for TextArea but I am not sure if this
would affect any existing sites out there negatively, would it?

The attached patch allows using AdminTextInputWidget and
AdminTextareaWidget without including the entire
django.contrib.admin.widgets namespace, but I would suggest amending the
path to redirect the TextInput and Textarea to these since these widgets
will usually be used in the admin area anyway.

This patch also includes a FileBrowseInput widget which will work if you
have the filebrowser application in INSTALLED_APPS.

Original issue reported on code.google.com by jacques....@geosoft.com on 22 Dec 2009 at 7:44

Attachments:

GoogleCodeExporter commented 9 years ago
Do you think you could create an account on github.com and start your 
contribution 
from there? I think you are right with the AdminTextInputWidget and 
AdminTextareaWidget so go ahead on these topics.

http://github.com/batiste/django-page-cms

It will be a lot easier for me to keep track and merge contributions.

Original comment by batiste....@gmail.com on 31 Dec 2009 at 10:30

GoogleCodeExporter commented 9 years ago

Original comment by batiste....@gmail.com on 11 Jan 2010 at 9:00