Custom error messages not working in Django ModelForm - help needed

2019-08-08 Thread אורי
Django Users, I want to release Speedy Net and Speedy Match to production in September or October 2019. I need help with the following issue on GitHub and Stack Overflow: https://github.com/speedy-net/speedy-net/issues/3 Any suggestions? There are other issues on Speedy Net which I also need hel

Re: Local django server - login fails with new safari version

2019-08-08 Thread Stephen McGonigal
Thanks Balu. I tried that but I still have the same error. On Thursday, 8 August 2019 17:54:00 UTC+1, Stephen McGonigal wrote: > > I've updated my MacBook to the latest Mojave 10.14.6 version. Since that > update I'm not able to login into my locally installed django webserver > using Safari any

Re: Tutorial Problems...

2019-08-08 Thread Mike Dewhirst
On 9/08/2019 2:43 am, Emil Lilja wrote: 1. Yeah i know but I've copied the code straight of the tutorial so getting a SyntaxError seems odd. Well you know what Sherlock Holmes would say. Eliminate the impossible and what is left must be true. You can only detect a syntax error by examing you

Key Error in form.cleaned_data

2019-08-08 Thread Mei B
I'm using a formset, and i'm trying to iterate through all the cleaned data except I keep getting a Keyerror no matter what field I try.. for form in formset: data = form.cleaned_data name = data["name"] ---> KeyError: "name" class VariableForm(forms.Form): name = forms.CharField

Re: Local django server - login fails with new safari version

2019-08-08 Thread Balu krishnan
Please clear your cache and try again On Thu, Aug 8, 2019 at 10:23 PM Stephen McGonigal < mcgonigalstep...@gmail.com> wrote: > I've updated my MacBook to the latest Mojave 10.14.6 version. Since that > update I'm not able to login into my locally installed django webserver > using Safari anymore.

Fullstack Developer//Fort Worth, TX//Long term//crop to crop

2019-08-08 Thread nikhil amrutham
Hi All Greeting from Simba Staffi Job Title: Fullstack Developer Location: Fort Worth, TX Duration: Long term Job Description: The ideal developer would be a full stack developer that understands both the backend development plus front end development patterns/frameworks/etc. Full Stac

Css is not updateing

2019-08-08 Thread 2018 sr
Hi all, I am working on django i am trying to update the css file but it is modified on styles.css file but not reflecting on browser this is my css file -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and s

Local django server - login fails with new safari version

2019-08-08 Thread Stephen McGonigal
I've updated my MacBook to the latest Mojave 10.14.6 version. Since that update I'm not able to login into my locally installed django webserver using Safari anymore. I always get the error message "Invalid CSRF token". With Chrome it's working. -- You received this message because you are sub

Latest Safari update prevents login

2019-08-08 Thread Stephen McGonigal
Login to locally run webserver no longer working. I've updated my MacBook to the latest Mojave 10.14.6 (18G87) version. Since that update I'm not able to login into local django webserver using Safari anymore. I always get the error message "Invalid CSRF token". With Chrome it's working. I also

Re: SyntaxError: positional argument follows keyword argument

2019-08-08 Thread DANIEL URBANO DE LA RUA
Show the imports o your file On Thu, 8 Aug 2019, 18:36 Kasper Laudrup Hi Kean, > > On 08/08/2019 17.59, Kean wrote: > > Hi, > > > > New to Django for the expression below, i get > > > > def breg(request): > > form = UserCreationForm() > > return render(request=request, template_name="source/breg

Re: Tutorial Problems...

2019-08-08 Thread Emil Lilja
1. Yeah i know but I've copied the code straight of the tutorial so getting a SyntaxError seems odd. 2. Don't think it has anything to do with the migration. I just don't see the output of runserver until i terminate it with ctrl-c. Noticed recently that it only does this on Git Bash and not wi

Re: SyntaxError: positional argument follows keyword argument

2019-08-08 Thread Kasper Laudrup
Hi Kean, On 08/08/2019 17.59, Kean wrote: Hi, New to Django for the expression below, i get def breg(request): form = UserCreationForm() return render(request=request, template_name="source/breg.html", {'forms':form})  I get the following error SyntaxError: positional argument follows key

Re: SyntaxError: positional argument follows keyword argument

2019-08-08 Thread Andreas Hasenkopf
Hi, using keyword arguments consistently might help, e.g.: return render( request=request, template_name="source/breg.html", context={'forms':form} ) CU Am 8. August 2019 17:59:40 MESZ schrieb Kean : >Hi, > >New to Django for the expression below, i get > >def breg(request): >form = Us

SyntaxError: positional argument follows keyword argument

2019-08-08 Thread Kean
Hi, New to Django for the expression below, i get def breg(request): form = UserCreationForm() return render(request=request, template_name="source/breg.html", {'forms':form}) I get the following error SyntaxError: positional argument follows keyword argument Please can anyone help? Best,

Understanding FILE_UPLOAD_MAX_MEMORY_SIZE vs. DATA_UPLOAD_MAX_MEMORY_SIZE

2019-08-08 Thread Valentin
Dear Django community, Hi have problems understanding the difference between FILE_UPLOAD_MAX_MEMORY_SIZE vs. DATA_UPLOAD_MAX_MEMORY_SIZE. Previously, I used django 1.11 and I had two different values, as we wanted to allow bigger file uploads than normal requests. So we had a higher limit for