Django ponycheckup check up results

2016-09-17 Thread Sandeep Patil
Dear All, I checked my django site a security ponycheckup at ponycheckup.com and I got 90%, which is good. However I am stuck at resolving the error " Web server allows TRACE Your web server allows the TRACE method. This is not good, as it rarely serves a purpose, and can be used in cross-site

Re: ModelAdmin missing a couple of key features, or am I doing this wrong?

2016-09-17 Thread James Schneider
On Sep 16, 2016 1:46 AM, "Andrea D'Amore" wrote: > > On 16 September 2016 at 00:53, wrote: > > I have a ModelAdmin subclass (code at: ) > > Gives a 404: > > The requested URL /0LAt was not found on this server. > > > I'm

Re: Registration form submission problem

2016-09-17 Thread Timothy Steele
below is also the views.py file for the registration form def register_page(request): if request.method=="POST": form=RegistrationForm(request.POST) if form.is_valid(): user=User.objects.create_user( username=form.clean_data['username'],

Registration form submission problem

2016-09-17 Thread Timothy Steele
first i created a Login form and an error message show as *CSRF token missing or incorrect.* I was able to work it out by adding* {% csrf_token %}* int the login form and adding the import file in the views as from *django.template import Context,RequestContext.* But when i created a

Re: Registration form submission problem

2016-09-17 Thread ludovic coues
Personally, I would look at the generated HTML for the form, to see if anything is wrong. https://gist.github.com/gkrnours/6461781883e6add258d6a70ea1804b0f is how I have done a user registration view if you want to compare 2016-09-17 10:31 GMT+02:00 Timothy Steele :