Django widget popup

145 views
Skip to first unread message

GKR

unread,
Jun 24, 2011, 8:25:45 PM6/24/11
to django...@googlegroups.com
i tried to use sontek / django-tekextensions    ( https://github.com/sontek/django-tekextensions )
for popup widget
but cannot follow what Model.object should be given in forms.py.

#forms.py
from app.widgets import SelectWithPopUp

class CustomForm(forms.Form):
    selectfield = forms.ModelChoiceField(Model.objects, widget=SelectWithPopUp)

Please help.

Is there any simple better way to make a popup widget like the admin interface provides to add new data to choice field.


Please Help..
Thanks..

GKR

unread,
Jun 24, 2011, 9:21:19 PM6/24/11
to django...@googlegroups.com
Please help

Venkatraman S

unread,
Jun 27, 2011, 3:53:02 AM6/27/11
to django...@googlegroups.com


On Sat, Jun 25, 2011 at 6:51 AM, GKR <ranag...@gmail.com> wrote:
Please help

Did you try contacting the author on github?

Coulson Thabo Kgathi

unread,
Jun 27, 2011, 4:37:43 AM6/27/11
to django...@googlegroups.com
no i did not. waht's github

Cal Leeming [Simplicity Media Ltd]

unread,
Jun 27, 2011, 8:11:22 AM6/27/11
to django...@googlegroups.com
Github is absolutely amazing. Google :)

On Mon, Jun 27, 2011 at 9:37 AM, Coulson Thabo Kgathi <zeec...@gmail.com> wrote:
no i did not. waht's github

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

Reply all
Reply to author
Forward
0 new messages