Re: PROBLEM WITH ACCESING MY APP WITH -m django runserver WITH DJANGO!!

2019-10-09 Thread Clara Daia
nge path and tried to work on a virtual env but > nothing work . > also launch mysql and apache with xampp but this what the terminal say: > PS Microsoft.PowerShell.Core\FileSystem::\\nas30-001\10 Support > Engineering\06-PHTF USERS\PHT Toulouse\Ismael\IODA\Application IODA\IODA>

PROBLEM WITH ACCESING MY APP WITH -m django runserver WITH DJANGO!!

2019-10-09 Thread Ismael Martinez
al say: PS Microsoft.PowerShell.Core\FileSystem::\\nas30-001\10 Support Engineering\06-PHTF USERS\PHT Toulouse\Ismael\IODA\Application IODA\IODA> py -m django runserver Traceback (most recent call last): File "C:\Users\ima7363\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193,

django runserver + weasyprint + not taking the CSS files or getting css applied on the PDF + but working fine with Apache

2019-06-11 Thread Maurya Allimuthu
(path is in static folder) Could anyone help here why with django runserver , the weasyprint could not able to link the CSS files in the static folder while rendering/generating PDF Thanks, Maurya djangoian -- You received this message because you are subscribed to the Google Groups

Re: Can't access my django runserver

2018-07-04 Thread Umar Kambala
Please I made the correction and am still getting the same error On Jul 1, 2018 10:43 PM, "Jason" wrote: You're importing the wrong thing *from django import templates* should be *from django import template* no "s" on the latter -- You received this message because you are subscribed to th

Re: Can't access my django runserver

2018-07-01 Thread Jason
You're importing the wrong thing *from django import templates* should be *from django import template* no "s" on the latter -- 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, s

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Please am new to django n I don't know where to get the problem tree. Need further clarifications On Jul 1, 2018 10:18 PM, "Anirudh Jain" wrote: Can you please show your directory structure ? Just take the screenshot of your project tree from code editor and that would be enough. -- You receive

Re: Can't access my django runserver

2018-07-01 Thread Anirudh Jain
Can you please show your directory structure ? Just take the screenshot of your project tree from code editor and that would be enough. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
;, line 371, in execute_from_command_line utility.execute() File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py", line 340, in execute _parser = self.fetch_command('runserver').create_parser('django', 'runser

Re: Can't access my django runserver

2018-07-01 Thread Jason
what does this have to do with the original question of this post? On Sunday, July 1, 2018 at 1:45:14 PM UTC-4, Ripon Uddin wrote: > > Anybody can help about Django Auth Login please ? > > > On Sun, Jul 1, 2018 at 3:27 PM Umar Kambala > wrote: > >> Am very grateful >> On Jun 30, 2018 1:05 PM, "An

Re: Can't access my django runserver

2018-07-01 Thread Ripon Uddin
Anybody can help about Django Auth Login please ? On Sun, Jul 1, 2018 at 3:27 PM Umar Kambala wrote: > Am very grateful > On Jun 30, 2018 1:05 PM, "Anirudh Jain" > wrote: > >> You forgot to put 'comma' after DIRS': [os.path.join(BASE_DIR, >> 'templates')] in templates. >> >> It should be DIRS'

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Am very grateful On Jun 30, 2018 1:05 PM, "Anirudh Jain" wrote: > You forgot to put 'comma' after DIRS': [os.path.join(BASE_DIR, > 'templates')] in templates. > > It should be DIRS': [os.path.join(BASE_DIR, 'templates')], > > On Sat 30 Jun, 2018, 15:52 Umar Kambala, wrote: > >> >> this are my co

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Am very grateful On Jun 30, 2018 12:49 PM, "Jason" wrote: > you're missing a comma at the end of > > 'DIRS': [os.path.join(BASE_DIR, 'templates')] > > for future reference, if you want people to help you, give the information > up front as well as context. Your original posting showed minimal >

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Am very grateful On Jun 30, 2018 1:05 PM, "Glen D souza" wrote: > I think there is a ' , ' missing after 'DIRS' in Templates settings > > On Saturday, 30 June 2018, Umar Kambala wrote: > >> >> this are my codes... >> >> # SECURITY WARNING: don't run with debug turned on in production! >> DEBUG =

Re: Can't access my django runserver

2018-06-30 Thread Anirudh Jain
You forgot to put 'comma' after DIRS': [os.path.join(BASE_DIR, 'templates')] in templates. It should be DIRS': [os.path.join(BASE_DIR, 'templates')], On Sat 30 Jun, 2018, 15:52 Umar Kambala, wrote: > > this are my codes... > > # SECURITY WARNING: don't run with debug turned on in production! >

Re: Can't access my django runserver

2018-06-30 Thread Glen D souza
I think there is a ' , ' missing after 'DIRS' in Templates settings On Saturday, 30 June 2018, Umar Kambala wrote: > > this are my codes... > > # SECURITY WARNING: don't run with debug turned on in production! > DEBUG = True > > ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com'] > ALLOWED_HOST

Re: Can't access my django runserver

2018-06-30 Thread Jason
you're missing a comma at the end of 'DIRS': [os.path.join(BASE_DIR, 'templates')] for future reference, if you want people to help you, give the information up front as well as context. Your original posting showed minimal information, so there was nothing we could do until you posted the a

Re: Can't access my django runserver

2018-06-30 Thread Umar Kambala
this are my codes... # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com'] ALLOWED_HOSTS = ['localhost', '.pythonanywhere.com'] # Application definition INSTALLED_APPS = [ 'polls.apps.PollsConfig', 'django.co

Re: Can't access my django runserver

2018-06-29 Thread Mikhailo Keda
show your code -- 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 to django-users@googl

Re: Can't access my django runserver

2018-06-29 Thread Umar Kambala
Thanks for the reply My problem is when I run python manage.py runserver I gets this error: 'APP_DIRS': True, SyntaxError: invalid syntax Am following this tutorial on the django polls section On Jun 27, 2018 12:44 PM, "Joshua Kayode" wrote: I think you need to give more details, we are all rea

Re: Can't access my django runserver

2018-06-27 Thread Joshua Kayode
I think you need to give more details, we are all ready to help! On Jun 27, 2018 10:41, "Umar Kambala" wrote: > Please after going through my django polls, now if I runserver I gets this > error > > 'APP_DIRS' : True, > SyntaxError: invalid syntax. > Please wat do I do? > > -- > You received thi

Can't access my django runserver

2018-06-27 Thread Umar Kambala
Please after going through my django polls, now if I runserver I gets this error 'APP_DIRS' : True, SyntaxError: invalid syntax. Please wat do I do? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Re: django runserver

2017-10-15 Thread Ph Lange
Sry didn t read carefully enough Tried to put the IP in ""? -> ALLOED_HOSTS=["IP"] Greetz aditya kumar – Sat., 14. October 2017 13:38 > why i m getting this error while running server? > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "D

Re: django runserver

2017-10-14 Thread Dylan Reinhold
In your settings the ip address in the ALLOWED_HOST list should be a srings, so wrap it in quotes. Dylan On Sat, Oct 14, 2017 at 2:29 AM, aditya kumar wrote: > *why i m getting this error while running server?* > > -- > You received this message because you are subscribed to the Google Groups >

Re: Django runserver not working after installing redis for django channels

2017-09-12 Thread Robin Lery
Yes, i think just running `sudo apt-get install redis-server` installs the old version of redis, instead of the latest one. On Mon, Sep 11, 2017 at 6:40 PM, Artem Malyshev wrote: > Hi, > > Please check your redis installation. It should be at least minimum > required version by redis-py. > > Reg

Django runserver not working after installing redis for django channels

2017-09-11 Thread Artem Malyshev
Hi, Please check your redis installation. It should be at least minimum required version by redis-py. Regards, Artem. -- 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 em

Django runserver not working after installing redis for django channels

2017-09-11 Thread Robin Lery
I am learning the Django-channels concepts and I am stuck when after install the asgi_redis and the redis server . If I have the CHANNEL_LAYERS configured for

Re: Having problem with django runserver not working in windows 7

2017-04-29 Thread ludovic coues
Do you mind sharing the full error you got ? 2017-04-29 5:46 GMT+02:00 Andrew James : > Hi I'm new to django and I'm having a problem with getting django runserver > to work. I'm new to django framework and I'm using windows 7. This is what > I've tried so fa

Having problem with django runserver not working in windows 7

2017-04-29 Thread Andrew James
Hi I'm new to django and I'm having a problem with getting django runserver to work. I'm new to django framework and I'm using windows 7. This is what I've tried so far that I've installed django. I've installed that django in my p drive. and I've trie

Re: Django runserver, the header doesn't contain connection:keep-alive

2016-12-01 Thread 韦然
Thanks. I will try other production servers. 在 2016年12月1日星期四 UTC+8下午9:32:09,emepe写道: > > On Thursday, December 1, 2016 at 6:42:38 AM UTC-3, 韦然 wrote: >> >> Dear all, >> >> The current header is: >> >> HTTP/1.0 200 OK >> >> Date: Thu, 01 Dec 2016 08:33:29 GMT >> >> Server: WSGIServer/0.1 Python/2.

Re: Django runserver, the header doesn't contain connection:keep-alive

2016-12-01 Thread emepe
On Thursday, December 1, 2016 at 6:42:38 AM UTC-3, 韦然 wrote: > > Dear all, > > The current header is: > > HTTP/1.0 200 OK > > Date: Thu, 01 Dec 2016 08:33:29 GMT > > Server: WSGIServer/0.1 Python/2.7.12 > > X-Frame-Options: SAMEORIGIN > > Content-Type: text/xml > > > The docs states clearly that ru

Re: Django runserver, the header doesn't contain connection:keep-alive

2016-12-01 Thread Avraham Serour
Don't use runserver fur production, use nginx with uwsgi On Dec 1, 2016 11:42 AM, "韦然" wrote: > Dear all, > > The current header is: > > HTTP/1.0 200 OK > > Date: Thu, 01 Dec 2016 08:33:29 GMT > > Server: WSGIServer/0.1 Python/2.7.12 > > X-Frame-Options: SAMEORIGIN > > Content-Type: text/xml > >

Django runserver, the header doesn't contain connection:keep-alive

2016-12-01 Thread 韦然
Dear all, The current header is: HTTP/1.0 200 OK Date: Thu, 01 Dec 2016 08:33:29 GMT Server: WSGIServer/0.1 Python/2.7.12 X-Frame-Options: SAMEORIGIN Content-Type: text/xml And the process code is : from django.shortcuts import render from django.http import HttpResponse import xml.etr

Re: django runserver does not work

2016-10-09 Thread 居飞
The problem has been fixed. It is caused by SELinux audit failed. It is ok now. Thanks. 在 2016年10月8日星期六 UTC+8下午10:07:46,居飞写道: > > Hi: >I installed the django 1.10.2 on Centos, after I started a project and > run the "python manage.py migrate", then run "python manage.py runserver", > it

Re: django runserver does not work

2016-10-08 Thread Sergiy Khohlov
have you are opening 127.0.0.1:8000 ? Many thanks, Serge +380 636150445 skype: skhohlov On Sat, Oct 8, 2016 at 6:09 AM, 居飞 wrote: > Hi: >I installed the django 1.10.2 on Centos, after I started a project and > run the "python manage.py migrate", then run "python manage.py runserver", >

django runserver does not work

2016-10-08 Thread 居飞
Hi: I installed the django 1.10.2 on Centos, after I started a project and run the "python manage.py migrate", then run "python manage.py runserver", it shows: [root@pet1jenkins testsite1]# python manage.py runserver Performing system checks... System check identified no issues (0 silenced).

Re: Django runserver needs restart on psql data changes

2015-04-29 Thread Arnab Banerji
Hi Carl - that was *exactly* what I was doing - thanks a ton for finding that issue even without requiring the code. Now that I think about it, putting that definition in the global section makes absolutely no sense. Appreciate your feedback, -AB On Wednesday, April 29, 2015 at 5:10:21 PM UTC-5

Re: Django runserver needs restart on psql data changes

2015-04-29 Thread Carl Meyer
Hi Arnab, On 04/29/2015 03:13 PM, Arnab Banerji wrote: > Hi Javier - thanks for the response. Yes - I am storing the data in a > dictionary - then having django_tables2 API render the dictionary as a > table. How do I force a read of that variable for every browser refresh > on the client side?

Re: Django runserver needs restart on psql data changes

2015-04-29 Thread Arnab Banerji
Hi Javier - thanks for the response. Yes - I am storing the data in a dictionary - then having django_tables2 API render the dictionary as a table. How do I force a read of that variable for every browser refresh on the client side? Thanks for your time, -AB On Wednesday, April 29, 2015 at 3:

Re: Django runserver needs restart on psql data changes

2015-04-29 Thread Javier Guerra Giraldez
On Wed, Apr 29, 2015 at 12:35 PM, Arnab Banerji wrote: > The rendering happens perfectly, but the problem is - when the client user > does a browser refresh, the new data does not get reloaded until I restart > the runserver. Is there something I am doing wrong with respect to getting > the data f

Django runserver needs restart on psql data changes

2015-04-29 Thread Arnab Banerji
Hi all - I am working on a Django app that interacts with a psql database via a set of models. (1) There is a backend job which keeps updating the database via the same models. (2) I am creating a table with a view using django_tables2 - and giving it a custom dictionary to render using data

Re: request.META['REMOTE_USER'] with django runserver

2014-09-24 Thread Tom Evans
On Mon, Sep 22, 2014 at 5:36 PM, Robbie Edwards wrote: > Hi, > > On my production server, I'm using REMOTE_USER to provide SSO for an > internal service. It works great on the production server. However, when > running 'runserver' on the development side, this variable is not set so > authentica

Re: request.META['REMOTE_USER'] with django runserver

2014-09-23 Thread Jürgen Kofler
Hi, you can add 'django.contrib.auth.backends.ModelBackend' to the AUTHENTICATION_BACKENDS and use a local user. or if you like to use the "REMOTE_USER" set up nginx with auth_basic and proxy on your local instance: location / { auth_basic "Restricted"; auth_basic_user_fil

request.META['REMOTE_USER'] with django runserver

2014-09-22 Thread Robbie Edwards
Hi, On my production server, I'm using REMOTE_USER to provide SSO for an internal service. It works great on the production server. However, when running 'runserver' on the development side, this variable is not set so authentic

Re: Django runserver 504 on static assets with IE only

2012-02-15 Thread bruno desthuilliers
On Feb 14, 8:56 pm, JC wrote: > On IE8 however, > my fiddler trace shows that random static assets (css, js, img) aren't > loading most (2/3) of the time.  The server trace doesn't seem to see > or log the request at all. Then it might be that for some reason IE8 just doesn't request the assets

Django runserver 504 on static assets with IE only

2012-02-14 Thread JC
Hello, I have a linux django 2.7 dev server using runserver 0.0.0.0:8080 serving webpages to a windows host on the same LAN. On all the other browsers (FF, Chrome, Safari), the pages load fine. On IE8 however, my fiddler trace shows that random static assets (css, js, img) aren't loading most (2

Re: django runserver freeze after 10-15 min

2008-02-18 Thread diadya_vova
Big thanks to all folks! It's works fine with CherryPy. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this

Re: django runserver freeze after 10-15 min

2008-02-16 Thread Joseph Heck
Mark was also the one who got me working it. :-) At OSCON 2007 as well... On Feb 16, 2008 12:47 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On Sat, 2008-02-16 at 12:43 -0800, Joseph Heck wrote: > > The link to Gordon's page is much nicer than the hackery I did some > > time back, but

Re: django runserver freeze after 10-15 min

2008-02-16 Thread Malcolm Tredinnick
On Sat, 2008-02-16 at 12:43 -0800, Joseph Heck wrote: > The link to Gordon's page is much nicer than the hackery I did some > time back, but I thought I'd pipe in with a comment that the > WSGIServer from CherryPy works very nicely. Seconded. Mark Ramm pointed out to me at OSCON this year how s

Re: django runserver freeze after 10-15 min

2008-02-16 Thread Joseph Heck
The link to Gordon's page is much nicer than the hackery I did some time back, but I thought I'd pipe in with a comment that the WSGIServer from CherryPy works very nicely. We've embedded it into our Django Queue Service project (I yanked the WSGIServer directly - didn't need the rest: http://code

Re: django runserver freeze after 10-15 min

2008-02-16 Thread diadya_vova
> Have a look at thishttp://www.gordontillman.info/Development/DjangoCherryPy Oh! Thank you. It's looks like the best choice for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: django runserver freeze after 10-15 min

2008-02-15 Thread cjl
Hi: As the guy behind Instant Django, I want to point out the disclaimer on the home page: "Be aware that Instant Django uses the built-in Django development web server, so it should not be used for deployment of Django projects." I wasn't joking, Instant Django is for learning Django basics, a

Re: django runserver freeze after 10-15 min

2008-02-15 Thread Steven Armstrong
diadya_vova wrote on 02/15/08 11:55: > Thank you for quick response! > > Dev. server not crashes. It's stop to respond on browsers requests. > Yeah, Apache is better choice for this. > But I need this application to be portable. Without instalation. > Because this I use "Instant Django" and SQLit

Re: django runserver freeze after 10-15 min

2008-02-15 Thread Julien
> But I need this application to be portable. Without instalation. > Because this I use "Instant Django" and SQLite. What do you mean by "portable". What are you exactly trying to achieve? Maybe you should consider something like Xampp [1], which makes it easy to install apache. [1] http://www.

Re: django runserver freeze after 10-15 min

2008-02-15 Thread Almir Karic
On Fri, Feb 15, 2008 at 11:55 AM, diadya_vova <[EMAIL PROTECTED]> wrote: > > Thank you for quick response! > > Dev. server not crashes. It's stop to respond on browsers requests. > Yeah, Apache is better choice for this. > But I need this application to be portable. Without instalation. > Bec

Re: django runserver freeze after 10-15 min

2008-02-15 Thread diadya_vova
Thank you for quick response! Dev. server not crashes. It's stop to respond on browsers requests. Yeah, Apache is better choice for this. But I need this application to be portable. Without instalation. Because this I use "Instant Django" and SQLite. I tried Google before asking :) And tried to

Re: django runserver freeze after 10-15 min

2008-02-15 Thread Julien
Hi, That command runs a server that is for development and testing purposes only. It is not meant to run for a long time, although that doesn't explain why it crashes after just 10 minutes. To use it in production, you should consider a proper server like Apache [http://www.apache.org/], which wi

django runserver freeze after 10-15 min

2008-02-15 Thread diadya_vova
Hello all, I run small application with "manage.py runserver MyIP". It used in small LAN by my coworkers. And if we don't use it some minutes - it's freeze. And don't respond. I use Django 0.96 in "Instant Django" package. --~--~-~--~~~---~--~~ You received this m