Re: Deploy Adagios web application

2016-02-16 Thread Luis Zárate
I don't know where is your problem, and I deployed django with apache time ago, but if I remember well WSGIDaemonProcess is not a IP, It is the user of process that run wsgi so I used like WSGIDaemonProcess myuser WSGIDaemonGroup myusergroup I sorry if I am not in the truth. El martes, 16 de

null datetime field and json fixtures

2016-02-16 Thread Malik Rumi
There are a ton of answers to this question out there - if you can wade through all the ones that refer to forms and not models. The consensus seems to be that datetime has to be set to both blank=true and null=true. And when I put in one test row of data manually through the admin, I could

Re: Running a Django site on a standalone Windows laptop

2016-02-16 Thread Mike Dewhirst
I agree with James. Apache and mod_wsgi is fine on Windows. There may be some Windows-specific Apache conf tweaks but running single-user on a laptop should be easy. On 17/02/2016 6:55 AM, James Schneider wrote: On Tue, Feb 16, 2016 at 6:36 AM, Remco Gerlich

Re: var1 = var2 = var3

2016-02-16 Thread Alex Heyden
That's an assignment statement. See https://docs.python.org/2/reference/simple_stmts.html for more. On Tue, Feb 16, 2016 at 2:05 PM, anotherdjangonewby < anotherdjangone...@gmx.de> wrote: > Hi, > > this may be a bit off-topic, but: > > How are expressions like: > > var1 = var2 = var3 > > called

var1 = var2 = var3

2016-02-16 Thread anotherdjangonewby
Hi, this may be a bit off-topic, but: How are expressions like: var1 = var2 = var3 called Python. Without a hint I cannot goolge this. Thanks Kai -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: file upload fails with slow network bandwith in django

2016-02-16 Thread James Schneider
> > How long does the file upload work before receiving the error? >>> >>> There is no response from the server (fiddler returns -1, whatever this >>> means) >>> >> >> Well, no response from the server doesn't necessarily mean that there >> were no logs. Can you check the error and access

Re: Running a Django site on a standalone Windows laptop

2016-02-16 Thread James Schneider
On Tue, Feb 16, 2016 at 6:36 AM, Remco Gerlich wrote: > Hi, > > We have a web application that usually runs on Ubuntu servers on the > Internet. In the background it calls software that runs on Windows servers, > over a network. > > For a new project, this application must run

Re: Where is the issues page?

2016-02-16 Thread Luis Zárate
https://code.djangoproject.com/ El martes, 16 de febrero de 2016, shivam Agarwal escribió: > I want to contribute to Django but i cannot find the issues page , can someone help me find it? > > -- > You received this message because you are subscribed to the Google

Re: mathematical function and django connect

2016-02-16 Thread Luis Zárate
What is wrong in your code? I suggested you some scripts changes that allows import and use in views. Help us to help you, give us more information about what are you doing, what are you planning to do? Why you think you code is wrong?. Did you create the view as I suggested? I think you need

Where is the issues page?

2016-02-16 Thread shivam Agarwal
I want to contribute to Django but i cannot find the issues page , can someone help me find it? -- 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: Running a Django site on a standalone Windows laptop

2016-02-16 Thread Ezequiel Bertti
You can try docker with docker toolkit. and run this sample: https://docs.docker.com/compose/django/ On Tue, Feb 16, 2016 at 1:24 PM, Avraham Serour wrote: > I would also consider cygwin, you can even use uwsgi and nginx, you can > easily add them as cygwin services which

Migration difficulties

2016-02-16 Thread C.J.S. Hayward
I am in the process of migrating a Django project that worked flawlessly, at least far as nuts and bolts go. There were unpleasant surprises, but they were all my fault. I went to post a specific problem, with stacktrace below, but when I searched, someone else had beaten me to the punch on a

Re: How to install on windows?

2016-02-16 Thread bob gailer
On 2/14/2016 8:08 PM, Mike Dewhirst wrote: 1. Uninstall all versions of Python on your machine 2. Start again and install Python 3.5 (pip was first part of the Python install with 3.4) That seemed a bit radical and time consuming. I examined the PATH environment variable, replaced python33

Re: Running a Django site on a standalone Windows laptop

2016-02-16 Thread Avraham Serour
I would also consider cygwin, you can even use uwsgi and nginx, you can easily add them as cygwin services which cygwin takes care to add them as windows services On Tue, Feb 16, 2016, 4:59 PM Remco Gerlich wrote: > We thought about that and it's certainly an option, but 1)

Re: Running a Django site on a standalone Windows laptop

2016-02-16 Thread Remco Gerlich
We thought about that and it's certainly an option, but 1) the communication with the background tasks running on the Windows host is going to be tricky and 2) I have no experience with running it as a service. So I'd prefer running on Windows directly. Remco Gerlich On Tue, Feb 16, 2016 at

Re: Running a Django site on a standalone Windows laptop

2016-02-16 Thread m1chael
I would vote for a Virtualbox instance depending on your performance requirements On Tue, Feb 16, 2016 at 9:36 AM, Remco Gerlich wrote: > Hi, > > We have a web application that usually runs on Ubuntu servers on the > Internet. In the background it calls software that runs on

Running a Django site on a standalone Windows laptop

2016-02-16 Thread Remco Gerlich
Hi, We have a web application that usually runs on Ubuntu servers on the Internet. In the background it calls software that runs on Windows servers, over a network. For a new project, this application must run standalone on a laptop, in the field, used by not very technical users. We can make

Re: How to install on windows?

2016-02-16 Thread Jonas Svensson
Hi, you already have virtualenv with python3.5. To create a new virtual environment you can do. c:\Temp>c:\Python35\python c:\Python35\Tools\Scripts\pyvenv.py myenv (https://docs.python.org/3/library/venv.html) Cheers On Monday, February 15, 2016 at 1:49:33 AM UTC+1, bob gailer wrote: > > I

Re: Deploy Adagios web application

2016-02-16 Thread Adriaan Wilmink
Op dinsdag 16 februari 2016 14:03:20 UTC+1 schreef Adriaan Wilmink: > > I setup Nagios Core in a Centos 6.4 VM. > > updated httpd.conf file: > > WSGIScriptAlias / /opt/adagios/adagios/wsgi.py > WSGIPythonPath /opt/adagios/ > WSGIDaemonProcess 10.149.21.79 python-path=/opt/adagios: >

django: drop down menu not displaying on template despite correct syntax

2016-02-16 Thread clarksonchris81
I have successfully configured a way to upload files to a website that I am making. However we would like to include a drop-down menu on the site. However, we want to include in the form of a drop-down menu called "mismatch choice": models.py: for drop-down menu class

Deploy Adagios web application

2016-02-16 Thread Adriaan Wilmink
I setup Nagios Core in a Centos 6.4 VM. To create ease of configuration, I am busy setting up a module called Adagios . This module creates a web interface to create, edit and remove Nagios objects. the module has Django as a prerequisite. Because Centos 6.4

Re: file upload fails with slow network bandwith in django

2016-02-16 Thread Pablo Conesa
Thanks once more James for your help and time. Answers below.. El martes, 16 de febrero de 2016, 8:33:08 (UTC+1), James Schneider escribió: > > > > On Mon, Feb 15, 2016 at 10:41 PM, Pablo Conesa > wrote: > >> Thanks James. answers in line: >> >> El lunes, 15 de febrero de

M2M: How to order by a field from the `through` table?

2016-02-16 Thread 'Brutus Schraiber' via Django users
Hi all… I can't come up with a syntax to order by a field of the `trough` table in a many to many relationship and how to combine it with `prefetch_related`. I have two models — _Note_ and _Pinboard_ — with a many to many relationship. Those two models are related trough another model — _Pin_