Re: mathematical function and django connect

2016-02-20 Thread James Schneider
On Sat, Feb 20, 2016 at 11:50 PM, Xristos Xristoou wrote: > place csrf on my code > > > {% csrf_token %} > Number of number: > Enter a value: > > > > > and the background color from input is a differend and i take that message > > This inspection highlights form

Re: some question

2016-02-20 Thread Avraham Serour
Yes and no. If you deploy your django project using nginx and uwsgi fur example and multiple users make requests at the same time they will receive answers in parallel, so yes it will be processed in parallel. But no, django is not the one handling the parallelism, static requests are handled by

Re: mathematical function and django connect

2016-02-20 Thread Xristos Xristoou
place csrf on my code {% csrf_token %} Number of number: Enter a value: and the background color from input is a differend and i take that message This inspection highlights form elements without required associated label (WCAG 2.0: H44

Re: mathematical function and django connect

2016-02-20 Thread James Schneider
On Sat, Feb 20, 2016 at 11:33 PM, Xristos Xristoou wrote: > i find solution for that error > > if i change request to : > > if 'nums' in request.POST: > nums = request.POST['nums'] > else: > nums = False > > > > now i have else error and i think the code in my html

Re: mathematical function and django connect

2016-02-20 Thread James Schneider
On Sat, Feb 20, 2016 at 10:32 PM, Xristos Xristoou wrote: > i have a progress with help anyway i am newbie > > i convert my python script(remember the first script on the first page) to > django script on the view > > views.py: > > from django.shortcuts import

Re: mathematical function and django connect

2016-02-20 Thread Xristos Xristoou
i find solution for that error if i change request to : if 'nums' in request.POST: nums = request.POST['nums'] else: nums = False now i have else error and i think the code in my html form is wrong (inside the form i copy paste {% csrf_token %}) and again nothing Forbidden (403)

Re: mathematical function and django connect

2016-02-20 Thread Xristos Xristoou
i have a progress with help anyway i am newbie i convert my python script(remember the first script on the first page) to django script on the view views.py: from django.shortcuts import render_to_response def calc(request): a = [] NList = [] y=0 nums =

Re: Not displayed my Images for website, django-admin, VideoJs, MediaElement

2016-02-20 Thread James Schneider
On Feb 20, 2016 1:58 PM, wrote: > > I do not known - Why. > > Example page from website: http://eugenelysenkowebsite.pythonanywhere.com/en/contact_me/about_me/ > > Example from settings > --- > import re > from .base import * > DEBUG = False >

Not displayed my Images for website, django-admin, VideoJs, MediaElement

2016-02-20 Thread setivolkylany
I do not known - Why. Example page from website: http://eugenelysenkowebsite.pythonanywhere.com/en/contact_me/about_me/ Example from settings --- import re from .base import * DEBUG = False ALLOWED_HOSTS = ['eugenelysenkowebsite.pythonanywhere.com']

Re: problem with DJANGO_SETTINGS_MODULE

2016-02-20 Thread bob gailer
On 2/19/2016 1:25 PM, bob gailer wrote: After several days of running my server with no problem I am suddenly confronted with: "django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment

some question

2016-02-20 Thread wang sheng
Hi, guys: I am new for django ( also new for web development ) , if there are one thousand http request to django server simultaneously , will Django parallel process these request or not ? -- You received this message because you are subscribed to the Google Groups "Django users"

form as filter in admin site

2016-02-20 Thread Luis Zárate
I am trying to insert a filter in the admin site that have 2 autocomplete inputs so I was thinking to do passed a form with a custom filter, but I only find a list filter documentation. I solved the problem writing a custom filter, with a little problem with css, because change list view has

Re: Hello Everyone !

2016-02-20 Thread paul . hermeneutic
On Sat, Feb 20, 2016 at 4:43 AM, Parth Shah wrote: > I am new to Frameworks . All I know is Basic Python. > How to get Started Please help ! Since you found the Django mailing list, I assume you are familiar with their web site. On the main page there is a link to "Get

Hello Everyone !

2016-02-20 Thread Parth Shah
I am new to Frameworks . All I know is Basic Python. How to get Started Please help ! -- 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

Re: problem with DJANGO_SETTINGS_MODULE

2016-02-20 Thread James Schneider
> After several days of running my server with no problem I am suddenly confronted with: > > "django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call