Re: You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread Kasper Laudrup
On 30/09/2021 11.43, emmanuel odor wrote: Hi Everyone, I tried to run Django micro crm locally on my windows host and  whenever i run this on my browser i get these errors below. Any reason you want to use HTTPS for your development server? Why not simply access it through HTTP, ie. http

Re: You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread emmanuel odor
manage.py runsslserver > Validating models... > > System check identified no issues (0 silenced). > September 30, 2021 - 12:30:58 > Django version 3.2.7, using settings 'crm.settings' > Starting development server at https://127.0.0.1:8000/ > Using SSL certificate: &

Re: You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread emmanuel odor
:30:58 Django version 3.2.7, using settings 'crm.settings' Starting development server at https://127.0.0.1:8000/ Using SSL certificate: C:\Users\e\Documents\Projects\Crm\venv\lib\site-packages\sslserver\certs\development.crt Using SSL key: C:\Users\e\Documents\Projects\Crm\venv\lib\

Re: You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread emmanuel odor
gt;>> Hi Everyone, >>> >>> I tried to run Django micro crm locally on my windows host and whenever >>> i run this on my browser i get these errors below. >>> >>> Starting development server at http://127.0.0.1:8000/ >>> Quit the server with CTRL

Re: You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread Benjamin Schollnick
FYI - Seems to have no effect on that error. >From what I see the development server just doesn’t support SSL. But, here are instructions on setting it up. https://timonweb.com/django/https-django-development-server-ssl-certificate/ <https://timonweb.com/django/https-django-devel

Re: You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread emmanuel odor
lowed host should be > an empty list > > On Thu, 30 Sep 2021, 10:43 emmanuel odor, wrote: > >> Hi Everyone, >> >> I tried to run Django micro crm locally on my windows host and whenever >> i run this on my browser i get these errors below. >> >> Starti

Re: You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread Adeyemi Deji
> > Starting development server at http://127.0.0.1:8000/ > Quit the server with CTRL-BREAK. > [30/Sep/2021 10:40:04] code 400, message Bad request version > ('**\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93úú\x00\x00\x00\x17\x00\x00ÿ\x0

You're accessing the development server over HTTPS, but it only supports HTTP.

2021-09-30 Thread emmanuel odor
Hi Everyone, I tried to run Django micro crm locally on my windows host and whenever i run this on my browser i get these errors below. Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. [30/Sep/2021 10:40:04] code 400, message Bad request version ('*

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread kradem
Yes, thank you very much, the error to warning switch in 3.3.4 solved the problem. Best regards! Dana utorak, 6. travnja 2021. u 20:24:24 UTC+2 korisnik Andrew Godwin napisao je: > This is probably this error: > https://github.com/django/asgiref/issues/251#issuecomment-814337170 - I'm > goin

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread Andrew Godwin
This is probably this error: https://github.com/django/asgiref/issues/251#issuecomment-814337170 - I'm going to switch the error to a warning and we'll see if that helps, then Daphne can have a fix added at a non-emergency pace. Andrew On Tue, Apr 6, 2021, at 12:19 PM, kradem wrote: > Not sure

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread kradem
Not sure if I understand you, I'm getting an server error in my browser with rendered as quoted in the first post here with the following body: 500 Internal Server Error body { font-family: sans-serif; margin: 0; padding: 0; } h1 { padding: 0.6em 0 0.2em 20px; color: #896868; margin: 0; }

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread Andrew Godwin
The tracebacks are there somewhere, you might have to look at the raw HTTP response in the browser to see them. Andrew On Tue, Apr 6, 2021, at 10:18 AM, kradem wrote: > I'm afraid a "success" was caused by the browser cache or something similar, > the 3.3.3 version doesn't fix my problem. :( >

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread kradem
I'm afraid a "success" was caused by the browser cache or something similar, the 3.3.3 version doesn't fix my problem. :( > Could you get the traceback out of Django that's causing the 500 error and post it here? That was - kind of - my initial question, the only output I can get is the messa

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread Andrew Godwin
Aha, glad to hear it! My apologies that we didn't catch that one before release yesterday. Andrew On Tue, Apr 6, 2021, at 10:01 AM, kradem wrote: > Stop the press!! The 3.3.3 version is published in PyPi and after installing > it it all works well! :) > > Thank you! > Dana utorak, 6. travnja 2

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread kradem
Stop the press!! The 3.3.3 version is published in PyPi and after installing it it all works well! :) Thank you! Dana utorak, 6. travnja 2021. u 17:56:44 UTC+2 korisnik kradem napisao je: > Thank you very much for a quick response. > > Yes, that's the problem: > > asgiref

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread Andrew Godwin
asgiref 3.3.2 introduced stricter checks for what an async function is, so I would imagine that's the problem. 3.3.3 fixes some of them, but I'm guessing you might have a different flavour of problem. Could you get the traceback out of Django that's causing the 500 error and post it here? And

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread kradem
Thank you very much for a quick response. Yes, that's the problem: asgiref 3.3.2 When I downgrade it to 3.3.1 Django complains ("django 3.2 requires asgiref<4,>=3.3.2, but you have asgiref 3.3.1 which is incompatible."), but static files are served well. I tried with the

Re: Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread Andrew Godwin
This may be related to https://github.com/django/asgiref/issues/251 - what version of asgiref are you running? Andrew On Tue, Apr 6, 2021, at 9:43 AM, kradem wrote: > > 500 Internal Server Error > > Exception inside application. > > Daphne > > This error raises every time a file from static f

Daphne raises Internal Server Error when accessing static files from development server

2021-04-06 Thread kradem
> 500 Internal Server Error > Exception inside application. > Daphne This error raises every time a file from static folder is accessed. What would be a proper way for debugging this? I've got "justMyCode": false setting in VS Code and that doesn't catch anything. Python 3.9.2 channels

Re: How to trigger system check while running development server?

2020-03-04 Thread One Above All
Greetings, Using configure() didn't helped me much. I implemented settings validation checks by extending system checks and called that validation check function in tests. This does not required me to make Django Sever perform system checks again, On Fri, Feb 28, 2020 at 5:57 PM Naveen Arora wro

Re: How to trigger system check while running development server?

2020-02-28 Thread Naveen Arora
can you explain more with some code, the exact question .? Cheers, Naveen Arora On Thursday, 27 February 2020 20:01:00 UTC+5:30, One Above All wrote: > > I am updating a settings in my test which should raise exception on > illegal entries, but merely updating settings does not make django perfo

Re: How to trigger system check while running development server?

2020-02-27 Thread Mike Dewhirst
On 28/02/2020 1:31 am, One Above All wrote: I am updating a settings in my test which should raise exception on illegal entries, but merely updating settings does not make django perform system checks. Is there any method which I can call to trigger those checks? https://docs.djangoproject.co

Re: How to trigger system check while running development server?

2020-02-27 Thread Integr@te System
Hi Fr, If you have not yet found out module/method for you, so let try git action as on your dev phase with git repo. On Thu, Feb 27, 2020, 21:32 One Above All wrote: > I am updating a settings in my test which should raise exception on > illegal entries, but merely updating settings does not m

How to trigger system check while running development server?

2020-02-27 Thread One Above All
I am updating a settings in my test which should raise exception on illegal entries, but merely updating settings does not make django perform system checks. Is there any method which I can call to trigger those checks? -- You received this message because you are subscribed to the Google Grou

Module lock error when starting development server

2019-06-11 Thread James Farris
Do you have a venv running in another venv? You could try installing and running gdb https://wiki.python.org/moin/DebuggingWithGdb It may give you more insight. But Deadlocking is essentially one python process clobbering another causing the app to lock up. -- You received this message beca

Module lock error when starting development server

2019-06-11 Thread Jonty Needham
Stuck. If anyone has ideas that would be brilliant. Django 2.2, running on Ubuntu 18.04 in a venv $ python manage.py runserver Exception in thread django-main-thread: Traceback (most recent call last): File "/home/jonty/.virtualenvs/tdj_playground/lib/python3.6/site-packages/django/template/ut

Re: No query results on heroku, but working on local development server

2018-12-18 Thread Joel Mathew
on-heroku-but-normal-results-on-develo#> >> >> I just started using heroku today. I was testing a web application, and >> got different results on using django app from local development server and >> heroku. I had imported to the database by running the django developme

Re: No query results on heroku, but working on local development server

2018-12-17 Thread Ketan Varia
w.com/questions/53801636/empty-query-result-on-running-django-app-on-heroku-but-normal-results-on-develo#> > > I just started using heroku today. I was testing a web application, and > got different results on using django app from local development server and > heroku. I had imported to the

No query results on heroku, but working on local development server

2018-12-16 Thread Joel Mathew
0down votefavorite <https://stackoverflow.com/questions/53801636/empty-query-result-on-running-django-app-on-heroku-but-normal-results-on-develo#> I just started using heroku today. I was testing a web application, and got different results on using django app from local development serv

Django development server: expect header.

2018-08-27 Thread Ayeni Adedayo
I asked this question on the #django IRC, but thought to put it here too. Over the weekend, I ran into an unexpected problem with the Django development server. It seems to either ignore or not properly handle the expect header. I understand that modern http clients will send an 100-continue

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread ireoluwa fakeye
t; i believe changing `settings.DEBUG` to `False` should make it a production > server? > > On Wednesday, August 15, 2018 at 11:39:54 AM UTC-7, ireoluwa fakeye wrote: >> >> I'm confused on what the problem is .as long as it's a development >> server it will stil

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Julio Biason
tps://docs.djangoproject.com/en/2.1/ref/settings/#debug > i believe changing `settings.DEBUG` to `False` should make it a production > server? > > On Wednesday, August 15, 2018 at 11:39:54 AM UTC-7, ireoluwa fakeye wrote: >> >> I'm confused on what the problem is .as long as it&#x

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
g as it's a development server > it will still show the above configuration > > > -- 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

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread ireoluwa fakeye
I'm confused on what the problem is .as long as it's a development server it will still show the above configuration On Wed, 15 Aug 2018, 19:33 Richard Belew, wrote: > yup, restarted apache. still development(: > > On Wednesday, August 15, 2018 at 11:26:03 AM UTC-7, ir

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
yup, restarted apache. still development(: On Wednesday, August 15, 2018 at 11:26:03 AM UTC-7, ireoluwa fakeye wrote: > > You have to restart the application or restart the server as the case > may be > > > -- You received this message because you are subscribed to the Google Groups "Django

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread ireoluwa fakeye
Django version 2.1, using settings 'showCrime.settings' >> Starting development server at ... >> > > why would that be?! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
i've set DEBUG=False, and also echo its value at the end of my settings.py file to confirm it's been set correctly. Still I get: Django version 2.1, using settings 'showCrime.settings' > Starting development server at ... > why would that be?! -- You received th

Re: Django local development server hangs after calling pandas df.plot a second time

2018-01-08 Thread Matemática A3K
On Mon, Jan 8, 2018 at 2:07 PM, asilver wrote: > I looked around for a django-pandas forum/group but could not find one... > I didnt' provide any errors or stack traces because there are none... The > web server just hangs and I have to go into Windows task manager and kill > the cmd window and

Re: Django local development server hangs after calling pandas df.plot a second time

2018-01-08 Thread asilver
I looked around for a django-pandas forum/group but could not find one... I didnt' provide any errors or stack traces because there are none... The web server just hangs and I have to go into Windows task manager and kill the cmd window and sometime even that is not enough (I need to also sep

Re: Django local development server hangs after calling pandas df.plot a second time

2018-01-07 Thread Matemática A3K
Hi! This may be better suited for the django-pandas community, as it involves its internals. It is also very hard to debug without errors or stack traces. HTH On Sun, Jan 7, 2018 at 3:51 PM, asilver wrote: > I'm trying to build a small website, using django, that stores network > performance da

Django local development server hangs after calling pandas df.plot a second time

2018-01-07 Thread asilver
I'm trying to build a small website, using django, that stores network performance data. The user will be able to use filters to retrieve the exact data he/she wants and then have the option to graph that data. I'm using django-pandas to convert filtered queryset to a dataframe and from there

Re: Django Development server inaccessible from the browser

2017-11-24 Thread Dylan Reinhold
Is your development server the same machine you are running your browser from? If not you don't want to use localhost, you need to user the IP/domain name of the development server. What is the error you get in the browser? Dylan On Fri, Nov 24, 2017 at 2:47 AM, Harish Oraon wrote: &

Re: Django Development server inaccessible from the browser

2017-11-24 Thread Harish Oraon
o all, > > I have a very strange experience with my Development server. > 1. I ran python manage.py makemigrations and it was successful > > 2. I ran python manage.py migrate every ran successful to my postgresql db > > 3. I ran python manage.py runserver everything successf

Re: static files not found on development server

2017-07-06 Thread Antonis Christofides
No, the development server recognizes new static files on the fly. However, it can sometimes fail; for example, if you have removed the directory and recreate it. So restarting it is a good idea when you are trying to debug it. Antonis Christofides http://djangodeployment.com On 2017-07-06 19

Re: static files not found on development server

2017-07-06 Thread Andreas Schosser
Hi Alex > On development, I run the django-admin runserver, which AFAIK should take > care of the static path. Did you restart the development server. I think the static files are collected at startup and newly added files are not recognized on the fly. Andreas -- Kurs 10 IT-Cons

Re: static files not found on development server

2017-07-06 Thread Axel Rau
> Am 06.07.2017 um 11:44 schrieb Melvyn Sopacua : > > On development, you're running a webserver that doesn't know the `/static` > url or failed to run `python manage.py collectstatic`. On development, I run the django-admin runserver, which AFAIK should take care of the static path. I have che

Re: static files not found on development server

2017-07-06 Thread Melvyn Sopacua
[Assuming the weird opening quote comma replacement is formatting, not actual code] On Thursday 06 July 2017 11:03:19 Axel Rau wrote: > Why do I get > [06/Jul/2017 09:54:20] "GET /static/css/bootstrap.min.css HTTP/1.1" > 404 1676 on development server, while on producti

static files not found on development server

2017-07-06 Thread Axel Rau
Hi, I can’t find the answer to this simple question: Why do I get [06/Jul/2017 09:54:20] "GET /static/css/bootstrap.min.css HTTP/1.1" 404 1676 on development server, while on production server, it works. In production, I have On development, I have tried thi

Re: Session key is empty after login on Django Channels development server

2017-01-09 Thread Utku Gültopu
(json.dumps({'status': 'Cannot authenticate'})) >> >> When I try to log in an existing user with this code, sometimes I will >> get the Empty session key response. In those cases, I resend the exact >> same request and this time, session key is successf

Re: Session key is empty after login on Django Channels development server

2017-01-08 Thread Andrew Godwin
with this code, sometimes I will get > the Empty session key response. In those cases, I resend the exact same > request and this time, session key is successfully set. > > What is the reason for this? What am I missing here? > > I am using Django Channels development server a

Session key is empty after login on Django Channels development server

2017-01-08 Thread Utku Gültopu
t the Empty session key response. In those cases, I resend the exact same request and this time, session key is successfully set. What is the reason for this? What am I missing here? I am using Django Channels development server and stunnel <https://www.stunnel.org/> as the SSL prox

Development Server Loading Time Issue: posix.waitpid

2016-04-15 Thread chris mc
Hi guys, I'm fairly new to Django. I'm running Django 1.3 (stuck with it unfortunately) and on my own machine I'm using the development server: python manage.py runserver When I make a change to a pyhton file the development server restarts but it's extremely slow to loa

Django Development Server and Chrome - autorefresh

2015-09-21 Thread Hari Mahadevan
Hi, I created a chrome extension that along with a custom django app automatically refreshes a Chrome browser page whenever the Django development server detects file change and reloads itself. I have been using this for a couple of months now and find it indispensable as I use VIM for Django

Re: Development Server Ignores IP-address Parameter

2015-07-16 Thread Ted Thomas
Jonathan, anotherdjangonewby, Thanks. I tried both suggestions, but there in no change in behavior. No matter what I do, the development server only takes requests at 127.0.0.1:8000. I am including my settings.py file below ( with altered secret_key): """ &g

Re: Development Server Ignores IP-address Parameter

2015-07-16 Thread anotherdjangonewby
s to run tests with other computers behind my firewall. Hence the 192.168.0.102 address which will only work on my local network. I tried your idea of specifying 0.0.0.0:8000, but that did not work. The development server still runs with 127.0.0.1:8000. The django documentation in the se

Re: Development Server Ignores IP-address Parameter

2015-07-16 Thread John 
ests with other > computers behind my firewall. Hence the 192.168.0.102 address which will > only work on my local network. > > I tried your idea of specifying 0.0.0.0:8000, but that did not work. The > development server still runs with 127.0.0.1:8000. > > The django documentati

Re: Development Server Ignores IP-address Parameter

2015-07-16 Thread tdthomas93
Sadaf, Thanks for your reply. To be clear, my objective is to run tests with other computers behind my firewall. Hence the 192.168.0.102 address which will only work on my local network. I tried your idea of specifying 0.0.0.0:8000, but that did not work. The development server still runs

Re: Development Server Ignores IP-address Parameter

2015-07-16 Thread Sadaf Noor
e http:// <http://server_Ip>192.168.0.102 <http://192.168.0.102:8001/> then it will show your desired website. 2015-07-16 7:21 GMT+06:00 : > For some reason, my Django Development Server ignores the IP:Port > parameter when I start it. No matter what I enter for that parameter, it

Development Server Ignores IP-address Parameter

2015-07-15 Thread tdthomas93
For some reason, my Django Development Server ignores the IP:Port parameter when I start it. No matter what I enter for that parameter, it always uses 127.0.0.1:8000. I think (but am not sure) this started happening when I upgraded from Django-1.7 to Django-1.8.2. I am running on Slackware

Re: Expected performance of the django development server?

2015-01-08 Thread Collin Anderson
Hi Richard, Like you've seen, the _number_ of queries often has a large effect on speed. Also, try comparing your page load time with and without debug toolbar enabled. I found that DDT is slow itself :). Collin On Monday, January 5, 2015 at 10:19:44 AM UTC-5, Richard Brockie wrote: > > Hi Jan

Re: Expected performance of the django development server?

2015-01-05 Thread Richard Brockie
Hi Jani, That's a correct diagnosis. I knew Django was doing lazy loading, but didn't fully understand the implications. In my case I have a filtered and ordered queryset resulting in ~400 records. Upon processing in the template, each was prompting a database visit 3 times when outputting inf

Re: Expected performance of the django development server?

2015-01-05 Thread Vijay Khemlani
Time: 9754 ms > > > > From task manager, the slow to load page is making "python.exe *32" use 1 > > whole logical processor during the page load. > > > > Are these expected response times? I'm hoping this is the result of a > > non-optimized developmen

Re: Expected performance of the django development server?

2015-01-04 Thread Jani Tiainen
load page: SQL: 1189 queries in 463 ms, Time: 9754 ms > > From task manager, the slow to load page is making "python.exe *32" use 1 > whole logical processor during the page load. > > Are these expected response times? I'm hoping this is the result of a > non-

Re: Expected performance of the django development server?

2015-01-04 Thread Andrew Farrell
s elsewhere. > > On Sunday, January 4, 2015, Andrew Farrell > wrote: > >> The django development server is slow by intentional neglect; It isn't >> supposed to be used in production because the django team does not want to >> divide its focus by supporting a full-fle

Re: Expected performance of the django development server?

2015-01-04 Thread Andrew Farrell
To clarify: I'm not a django core dev and by "neglect" I don't mean that anyone is being neglectful, just focusing efforts elsewhere. On Sunday, January 4, 2015, Andrew Farrell wrote: > The django development server is slow by intentional neglect; It isn't > su

Re: Expected performance of the django development server?

2015-01-04 Thread Andrew Farrell
The django development server is slow by intentional neglect; It isn't supposed to be used in production because the django team does not want to divide its focus by supporting a full-fledged web server that is performance-optimized and security-audited. They want to include a development s

Expected performance of the django development server?

2015-01-04 Thread Richard Brockie
logical processor during the page load. Are these expected response times? I'm hoping this is the result of a non-optimized development server, and not the expected performance of Django itself. Any comments or advice? Thanks, R. -- You received this message because you are subscribed to t

Re: Django development server crash on syntactic or indent error after check

2014-12-07 Thread Mario De Frutos Dieguez
Thank you very much Collin, i will take a look knowing that its probably a bug :) El sábado, 6 de diciembre de 2014 18:33:34 UTC+1, Collin Anderson escribió: > > It happens if there's a SyntaxError in a models.py file. > > On Saturday, December 6, 2014 12:32:17 PM UTC-5, Collin Anderson wrote: >>

Re: Django development server crash on syntactic or indent error after check

2014-12-06 Thread Collin Anderson
It happens if there's a SyntaxError in a models.py file. On Saturday, December 6, 2014 12:32:17 PM UTC-5, Collin Anderson wrote: > > Hi, > > Yes, this happens to me frequently. It happens when editing models.py or > something imported by a models.py. It's on my mental dream list of things > to f

Re: Django development server crash on syntactic or indent error after check

2014-12-06 Thread Collin Anderson
Hi, Yes, this happens to me frequently. It happens when editing models.py or something imported by a models.py. It's on my mental dream list of things to fix, but feel free to open a ticket about it if there's not one open already. Collin On Friday, December 5, 2014 2:00:01 AM UTC-5, Mario De

Re: Django development server crash on syntactic or indent error after check

2014-12-04 Thread Mario De Frutos Dieguez
If i understand you correctly, when an error occur the server should not stop, instead of that it will print the error trace to let you correct the problem but in my case when an error occur the server show the trace and stop working or at least it returns to the shell. :S What i understand rea

Re: Django development server crash on syntactic or indent error after check

2014-12-04 Thread Mike Dewhirst
On 4/12/2014 7:58 PM, Mario De Frutos Dieguez wrote: First of all i want to say hi!, i'm new in the group :) I'm having a problem with the development server (a.k.a runserver). When i'm working in a file but i have an error (for example indent error or syntactic error) the serve

Django development server crash on syntactic or indent error after check

2014-12-04 Thread Mario De Frutos Dieguez
First of all i want to say hi!, i'm new in the group :) I'm having a problem with the development server (a.k.a runserver). When i'm working in a file but i have an error (for example indent error or syntactic error) the server crash instead of report the error and keep runn

Re: Question about moving code to product from local or development server.

2014-06-10 Thread Tomas Ehrlich
Hi there, since all have already mentioned Fabric, take a look at Ansible which is a bit more sophisticated tool, but can be used efficiently even for small setups. Depends on your requirements, you can create simple "deployment" playbook, which just takes your code, push it to the server, update

Re: Question about moving code to product from local or development server.

2014-06-10 Thread Phang Mulianto
Hi there, The easy way just copy /transfer your code to your production server manually. To more automate the process, you can use some script . To more advanced and not repeating your self, you can use fabric and create a deployment script for your project. After finish this effort , your fabri

Re: Question about moving code to product from local or development server.

2014-06-10 Thread Johannes Schneider
you can use 'Fabric' to deploy your code. But In this case you still have to write some parts on your own. https://pypi.python.org/pypi/Fabric/ bg, Johannes On 07.06.2014 22:50, Chen Xu wrote: I am building a django website, and wondering what is an easy way to move all of my code to product

RE: Question about moving code to product from local or development server.

2014-06-09 Thread Ilya Kazakevich
ngo-users@googlegroups.com >Subject: Question about moving code to product from local or development >server. > >I am building a django website, and wondering what is an easy way to move all >of >my code to production, is there a tool for doing that, or maybe write my own >scrip

Re: Question about moving code to product from local or development server.

2014-06-07 Thread Adam Stein
I use Fabric (http://www.fabfile.org/), which bills itself as a Python library and command line tool for streamlining the use of SSH for application deployment or systems administration tasks. No need to invent your own. On Sat, 2014-06-07 at 16:50 -0400, Chen Xu wrote: > I am building a django w

Question about moving code to product from local or development server.

2014-06-07 Thread Chen Xu
I am building a django website, and wondering what is an easy way to move all of my code to production, is there a tool for doing that, or maybe write my own script? Thanks -- ⚡ Chen Xu ⚡ -- You received this message because you are subscribed to the Google Groups "Django users" group. To un

Re: Bus Error on Development Server

2014-03-01 Thread Gkpetrak
Hello, thank you for your quick replies. I tried to start the development server with the GNU debugger gdb to check the error and I had the following output: Starting program: /home/george/venv/bin/python Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2 Try: zypper install -C

Re: Bus Error on Development Server

2014-03-01 Thread François Schiettecatte
rror. After that I had many bus errors on different programs. >> Finally I tried to start django' development server, and I received the same >> error. > The "after that I had many bus errors on different programs" is the clue that > perhaps your physical memor

Re: Bus Error on Development Server

2014-02-28 Thread Thomas Lockhart
On 2/28/14 6:16 PM, Gkpetrak wrote: Hello, I was trying to process Images with some python scripts, when I receive bus error. After that I had many bus errors on different programs. Finally I tried to start django' development server, and I received the same error. The "after that

Bus Error on Development Server

2014-02-28 Thread Gkpetrak
Hello, I was trying to process Images with some python scripts, when I receive bus error. After that I had many bus errors on different programs. Finally I tried to start django' development server, and I received the same error. I know that this error happens when a process is tryi

Re: Django Tutorial 2 - Start the development server: why I couldn't get the admin’s login screen?

2013-12-17 Thread hyp3rkyd
seems like you didn't go to /admin/ but / On Monday, December 16, 2013 10:42:59 PM UTC+2, Yuqi Wang wrote: > > I think I did every step before this, the tutorial says there should be > the admin's login screen (fig 1 below), but the screen I got was the same > as it was when no Django project wa

Re: Django Tutorial 2 - Start the development server: why I couldn't get the admin’s login screen?

2013-12-16 Thread Thomas Murphy
Have you enabled admin in settings.py? What about setting up the database and creating the initial super user? On Mon, Dec 16, 2013 at 3:42 PM, Yuqi Wang wrote: > I think I did every step before this, the tutorial says there should be > the admin's login screen (fig 1 below), but the screen I

Django Tutorial 2 - Start the development server: why I couldn't get the admin’s login screen?

2013-12-16 Thread Yuqi Wang
I think I did every step before this, the tutorial says there should be the admin's login screen (fig 1 below), but the screen I got was the same as it was when no Django project was created (fig.2). I've no idea what went wrong.

Re: unable to access django development server on firefox/chrome

2013-10-14 Thread Tom Evans
tutorial01/ > > I ran the following command > > python manage.py runserver > > it gave the following output > > Validating models... > > 0 errors found > October 12, 2013 - 11:37:58 > Django version 1.5.4, using settings 'mywebsite.settings' > Developm

Re: unable to access django development server on firefox/chrome

2013-10-12 Thread Kelvin Wong
gt; > *python manage.py runserver* > > it gave the following output > > *Validating models... > > 0 errors found > October 12, 2013 - 11:37:58 > Django version 1.5.4, using settings 'mywebsite.settings' > Development server is running at http://127.0.0.1:8000/ >

Re: unable to access django development server on firefox/chrome

2013-10-12 Thread Vernon D. Cole
Also make sure your browser is not trying to use a proxy. 127.0.0.1 should be an exception on the proxy setting. -- 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 t

Re: unable to access django development server on firefox/chrome

2013-10-12 Thread Vernon D. Cole
That's exactly how I do it using Firefox on my Ubuntu 13.04 workstation. I see nothing wrong in your explanation. Are you trying to access it from the same computer that the development server is running on? If so, then check to see whether you have a firewall running on your workst

unable to access django development server on firefox/chrome

2013-10-12 Thread gitrookie
the following output *Validating models... 0 errors found October 12, 2013 - 11:37:58 Django version 1.5.4, using settings 'mywebsite.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C.* But I am unable to access the url http://127.0.0.

Re: [Deployment + Apache2] difference between development server & production server

2013-09-18 Thread Karl Arunachal
Its always a pleasure. Have fun coding! On Mon, Sep 16, 2013 at 11:20 PM, hung david wrote: > > > On Monday, September 16, 2013 2:05:56 AM UTC+7, Kakar wrote: >> >> I dont know what you actually mean, but I think just by passing the url >> that you have created in the urls.py, which points to th

Re: [Deployment + Apache2] difference between development server & production server

2013-09-16 Thread hung david
On Monday, September 16, 2013 2:05:56 AM UTC+7, Kakar wrote: > > I dont know what you actually mean, but I think just by passing the url > that you have created in the urls.py, which points to the function you have > defined in ur views.py should work. > > > Yes you are right Kakar. I've figure

Re: [Deployment + Apache2] difference between development server & production server

2013-09-16 Thread hung david
Thank you Daniel. It's kind of strange every single time I post ( I only did 2 times) a question in any community, I find out the question by myself immediately after that even thought I've spent a lot of time finding the answer before. Well that's a story of my life ^^ And what you reply is exa

Re: [Deployment + Apache2] difference between development server & production server

2013-09-15 Thread Daniel Roseman
On Sunday, 15 September 2013 07:05:19 UTC+1, hung david wrote: > I've been working with Django like 3 months and I'm trying to get my site > online with Apache2. So please forgive if this is a stupid question. > I'm gonna make this short. > On development server, w

Re: [Deployment + Apache2] difference between development server & production server

2013-09-15 Thread kakararunachalservice
nline with Apache2. So please forgive if this is a stupid question. I'm gonna make this short.  On development server, when I go to, like,  http://localhost:8000/my-function , it works ( since I have a  my-function view in views.py, and a mount point in urls.py to point to it)  # views.py

[Deployment + Apache2] difference between development server & production server

2013-09-15 Thread hung david
I've been working with Django like 3 months and I'm trying to get my site online with Apache2. So please forgive if this is a stupid question. I'm gonna make this short. On development server, when I go to, like, http://localhost:8000/my-function , it works ( since I have a m

Re: Using an external Server to serve Static files - Development Server

2013-08-22 Thread Nikolas Stevenson-Molnar
Try changing the first line to {% load static from staticfiles %} _Nik On 8/21/2013 6:27 PM, Ideo Rex wrote: > {% load staticfiles %} > > > > This is just for my css file (there are other categories under lifestream. > > server: https://my.site.com/DJStatic/static/livestream/css/style.css > > On

Re: Using an external Server to serve Static files - Development Server

2013-08-21 Thread Kelvin Wong
This is how I do it. In settings.py: STATIC_ROOT = '/home/user/app/site_media/static/' # Generated files here from 'manage.py collectstatic' STATIC_URL = 'http://static.example.com/static/' In templates: {% load staticfiles %} ... Produces: http://static.example.com/static/myapp/stylesh

Re: Using an external Server to serve Static files - Development Server

2013-08-21 Thread Ideo Rex
{% load staticfiles %} This is just for my css file (there are other categories under lifestream. server: https://my.site.com/DJStatic/static/livestream/css/style.css On Wednesday, August 21, 2013 6:18:37 PM UTC-7, Nikolas Stevenson-Molnar wrote: > > That should work... how are you referencin

  1   2   3   4   5   >