Re: Cannot overwrite 'get_fieldsets' in custom UserAdmin

2015-06-28 Thread Lagovas Lagovas
first of all you need unregister default django models and then register yours AdminModel like: admin.site.unregister(User) admin.site.register(User, CustomUserAdmin) пятница, 26 июня 2015 г., 3:16:24 UTC+3 пользователь Henri написал: > > I'm using a custom user model and a custom UserAdmin. >

Re: Cannot overwrite 'get_fieldsets' in custom UserAdmin

2015-06-28 Thread Henri
As I use a custom user model the default django user model is not registered. When I try to unregister it I get an error. See example in the django docs: https://docs.djangoproject.com/en/1.6/topics/auth/customizing/#a-full-example. Regards, Henri -- You received this message because you are

Re: Push notifications in Django

2015-06-28 Thread Avraham Serour
no, no On Sun, Jun 28, 2015 at 6:21 AM, harsh.rathore14 wrote: > I am Rails developer and new to Django. I want to build an Webapp which > will have push notification on comments, mentions etc. Is it possible in > Django or I should move to node.js > > -- > You received this message because you

Re: Push notifications in Django

2015-06-28 Thread Maksim Sokolski
You can implement push-notifications with django+tornado+websockets. -- 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+unsubscr...@googlegroups.com. T

Push Pics on to Website page?

2015-06-28 Thread ltc . hotspot
Hi Everyone, Within Django is there a module to push picture files, i.e., jpeg, gif, or an interface to Google's Map.API, onto a web site page? Regards, Hal -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and s

Re: Push Pics on to Website page?

2015-06-28 Thread Luis Zárate
Take a look this: https://github.com/caioariede/django-location-field 2015-06-28 9:03 GMT-06:00 : > Hi Everyone, > > Within Django is there a module to push picture files, i.e., jpeg, gif, > or an interface to Google's Map.API, onto a web site page? > > Regards, > Hal > > -- > You received this m

Re: Django formset hidden id field

2015-06-28 Thread Peter of the Norse
On May 27, 2015, at 7:47 AM, Cheng Guo wrote: > > Hello, > > I have a formset and when I render it, Django would include this line in the > HTML: > > > I am curious what is the purpose of having an id field here. > > I mean in what situation would you use it. I did look through Django's >

Re: Push Pics on to Website page?

2015-06-28 Thread ltc hotspot
thanks, On Sun, Jun 28, 2015 at 9:02 AM, Luis Zárate wrote: > Take a look this: > https://github.com/caioariede/django-location-field > > 2015-06-28 9:03 GMT-06:00 : > >> Hi Everyone, >> >> Within Django is there a module to push picture files, i.e., jpeg, gif, >> or an interface to Google's Map