Admin custom template

25 views
Skip to first unread message

Mrinmoy Das

unread,
Nov 19, 2013, 5:29:35 AM11/19/13
to django...@googlegroups.com
Hi,

I have made a functionality where a user can input address through google map on a site. Now the thing is, how can I enable the same stuff on django admin panel? I am using django-grappelli. Any help guys?

I have tried this
http://stackoverflow.com/questions/20023521/django-admin-insert-custom-html-code-for-specific-model-admin

its not working. Any help? really stuck at this.
Screenshot from 2013-11-19 15:54:48.png

Mrinmoy Das

unread,
Nov 19, 2013, 10:35:08 AM11/19/13
to django...@googlegroups.com

any help guys?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2056e3fc-9fa8-4b0d-b5c2-aa3372e8591f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Rafael E. Ferrero

unread,
Nov 19, 2013, 10:47:32 AM11/19/13
to django...@googlegroups.com

Rafael E. Ferrero

unread,
Nov 19, 2013, 10:48:57 AM11/19/13
to django...@googlegroups.com
i mean... carefully ?


2013/11/19 Rafael E. Ferrero <rafael....@gmail.com>



--
Rafael E. Ferrero

Sergiy Khohlov

unread,
Nov 19, 2013, 10:53:40 AM11/19/13
to django-users
also take a look at
https://docs.djangoproject.com/en/dev/ref/contrib/gis/forms-api/
Anyway I would like to write those code by myseld and do not use
default admin interface
Many thanks,

Serge


+380 636150445
skype: skhohlov
> https://groups.google.com/d/msgid/django-users/CAJJc_8XL10GgCkR%2B-oJjXPh4bAjTjR1NjnLJ3o0cnmgzBd7G2A%40mail.gmail.com.

Mrinmoy Das

unread,
Nov 19, 2013, 11:05:39 AM11/19/13
to django...@googlegroups.com

yup. tried. didnt worked. I am using django 1.6

Luca Corti

unread,
Nov 20, 2013, 2:21:26 PM11/20/13
to django...@googlegroups.com
https://github.com/philippbosch/django-geoposition/ does exactely what you are doing, and works with the admin. You can take a look at its code.

ciao

Luca
signature.asc
Reply all
Reply to author
Forward
0 new messages