Re: Possible Bug in password_reset_form

2015-10-05 Thread Tim Graham
In Django 1.9, the "extra_email_context" parameter was added to achieve this. https://docs.djangoproject.com/en/1.9/topics/auth/default/#django.contrib.auth.views.password_reset On Monday, October 5, 2015 at 5:48:57 PM UTC-4, mwidman wrote: > > Not sure if this intentional or not, but in Django

Possible Bug in password_reset_form

2015-10-05 Thread mwidman
Not sure if this intentional or not, but in Django 1.8.4 the PasswordResetForm's save function only passes a dictionary as the context to "send_mail()". Because of that, there is now way to add any extra information (i.e. from a RequestContext). Can anyone say if this is done for some securit

Re: Django admin suitable for external users?

2015-10-05 Thread tahir
Has anyone opened Django admin to customers, not just clients? If so, what warranted such decision as appose to only exposing partial functionality through a customized app? -- CONFIDENTIALITY NOTE: The information contained in this transmission may be privileged and confidential, and is inten

Re: NoReverseMatch at /polls/1/

2015-10-05 Thread jahan
Hi James, That was it! thanks a bunch for pointing that out. cheers, Jack On Sunday, October 4, 2015 at 11:03:03 PM UTC+2, James Schneider wrote: > > > This is my mysite/url,py > > > > from django.contrib import admin > > > > urlpatterns = [ > > url(r'^admin/', include(admin.site.urls)), >

Re: NoReverseMatch at /polls/1/

2015-10-05 Thread lipt0n
just remove ,namespace = "polls" > > -- 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. To post to this group, send email

Re: Solr highlighting through Scorched in Django

2015-10-05 Thread Vadim Serdiuk
Write template tag. понедельник, 5 октября 2015 г., 13:54:29 UTC+3 пользователь Luca Guariento написал: > > Hi all, > > I am trying to output the highlighted search-term from a Solr search. I'm > using Django 1.8.4 with Scorched. > > I have already activated highlighting (resp = ('highlightin

Re: custom managers and migrations

2015-10-05 Thread Dan Tagg
Obviously a difficult question... On Saturday, 3 October 2015 23:54:24 UTC+1, Dan Tagg wrote: > > Hi, > > I'm using django 1.8.4. > > 1. I have added a field "deleted" to a couple of models so that when the > delete button is pressed, to all intents and purposes the record will have > been delet

Solr highlighting through Scorched in Django

2015-10-05 Thread Luca Guariento
Hi all, I am trying to output the highlighted search-term from a Solr search. I'm using Django 1.8.4 with Scorched. I have already activated highlighting (resp = ('highlighting', self.solr_response.highlighting)) to the search-view, and my json output from a search is: "highlighting": { "f0

Re: NoReverseMatch at /polls/1/

2015-10-05 Thread monoBOT
The problem is that you dont have any url that has the poll id as parameter. So django cant find it 2015-10-04 22:02 GMT+01:00 James Schneider : > > This is my mysite/url,py > > > > from django.contrib import admin > > > > urlpatterns = [ > > url(r'^admin/', include(admin.site.urls)), > >