Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
https://groups.google.com/forum/#!topic/django-users/6mYFE2pgt0w This is full info about new error On 10 April 2017 at 10:41, sarfaraz ahmed wrote: > I fixed that i am facing new error. Posted as new problem > > regards, > Sarfaraz Ahmed > > On 10 April 2017 at 01:49, Matthew Pava wrote: > >>

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
I fixed that i am facing new error. Posted as new problem regards, Sarfaraz Ahmed On 10 April 2017 at 01:49, Matthew Pava wrote: > As another user mentioned, you did not specify the name keyword argument > for password_reset_done. You also have the line commented out in your urls > file. > > >

password_reset error

2017-04-09 Thread sarfaraz ahmed
Hello Friends, I have attempted to make CustomUser model in django to signin using email. I am using password_reset view when I am getting this error. I checked password_reset view and found i am getting error during this line form.save(**opts) in password_reset ---

Re: Displaying multiple images in a blog post

2017-04-09 Thread HBat
(I don't know what happened to original post.) Suppose I have two images, "\media\images\image1.jpg" and "\media\images\image2.jpg". I want to display them in a blog post that I've written. I thought I should create a model for images but with multiple images I cannot figure out how to add them

JsonField icontains filter generates invalid SQL

2017-04-09 Thread cofiem
The issue I'm facing is similar to these tickets: - Case insensitive lookups on JSONField nested values https://code.djangoproject.com/ticket/27693 - Use the ->> operator when filtering builtin text lookups on JSONField keys https://code.djangoproject.com/ticket/27257 - Document

Displaying multiple images in a blog post

2017-04-09 Thread hbat
Suppose I have two images, "\media\images\image1.jpg" and "\media\images\image2.jpg". I want to display them in a blog post that I've written. I thought I should create a model for images but with multiple images I cannot figure out how to add them to the body of my blog post. It seems like I have

Re: How i can hide statements {% IF hide %} on html template ... also {{ model.name }}

2017-04-09 Thread Camilo Torres
Can you show an example of one of these templates and the corresponding view? On Sunday, April 9, 2017 at 1:41:27 PM UTC-4, ZS ELECTRONICA wrote: > > Hello > > > I have a problem, i have a page with backbone + jquery+bootstrap+css, with > templates but , i don't now why when i see the "source

RE: Password reset custom view

2017-04-09 Thread Matthew Pava
As another user mentioned, you did not specify the name keyword argument for password_reset_done. You also have the line commented out in your urls file. # url(r'^password_reset/done/$', auth_views.password_reset_done, {'template_name': 'user_management/password_reset_done.html','post_reset_r

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
Here is full error message NoReverseMatch at /password_reset/ Reverse for 'password_reset_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] Request Method: GET Request URL: ht

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
This is full url.py... i have made all templates I also used name="password_reset_done". But still get same error On 9 April 2017 at 18:19, ludovic coues wrote: > Do you mind to share your full urls.py file and the full traceback ? > > If I have to take a guess with the informations you have

RE: Strange issue in CSRF

2017-04-09 Thread Matthew Pava
I have had that issue as well. It happens very infrequently for me, and I have yet to find a solution to it. My guess, at least in my situation, is that it has something to do with authentication and resetting the server while a user is filling out the form. Since a simple refresh works in my

How i can hide statements {% IF hide %} on html template ... also {{ model.name }}

2017-04-09 Thread ZS ELECTRONICA
Hello I have a problem, i have a page with backbone + jquery+bootstrap+css, with templates but , i don't now why when i see the "source of page" i can see the statments {% IF some %} ... .also {{ tag.title }} , i need hide this , in other pages i cant see this. please help me -- Y

Re: Password reset custom view

2017-04-09 Thread ludovic coues
Do you mind to share your full urls.py file and the full traceback ? If I have to take a guess with the informations you have have shared, I would say the line url(r'^password_reset/done/$', auth_views.password_reset_done, {'template_name': 'user_management/password_reset_done.html','post_

Re: Django Music streaming

2017-04-09 Thread ludovic coues
Most of the time, error in django come with a traceback. The traceback might be a bit scary but it's full of information on what is going wrong and why. 2017-04-09 2:05 GMT+02:00 Camilo Torres : > Hi, you forgot to include the error you get and probably other relevant > information. > You may be i

Strange issue in CSRF

2017-04-09 Thread Web Architect
Hi, We are seeing a strange issue with CSRF in Django. We are using Django 1.8.4. Ours is an ecommerce site which has been up since an year. We have been observing 403 CSRF errors now and then for form posts. But the issue is intermittent and suddenly pops up. I mean the form posts work fine