Is 1.7 RC1 supposed to support migrations changing user model? Not sure whether to report error as bug!

2014-07-09 Thread graeme
Having read through the comments on this bug: https://code.djangoproject.com/ticket/22563 I can see that migrations were not originally intended to support changing AUTH_USER_MODEL after the initial migration. However I am confused about whether it now should. The later comments and the docum

Re: How to filter objects by values of foreign objects in Django admin

2014-07-09 Thread Derek
There is not really enough information about your use case (which is maybe why people seem to be misunderstanding your question). Its not really clear to me what you mean by "pass a parameter", as you have not given any indication where or how this parameter needs to be set. One way I have

web based application to monitor sybase ase database server

2014-07-09 Thread anantha sharma
Hi, I am planing to build web based application to monitor sybase ase database server the details are given below. In this moment we are monitoring sybase ASE database server by shell script(cron job) these data we are pushing to other database server what we call is monitoring server.After b

Help me: Django 1.6.4 + mod_wsgi Error

2014-07-09 Thread LongYuan
[Wed Jul 09 14:51:19 2014] [error] File "C:\\Python27\\lib\\site-packages\\django\\utils\\encoding.py", line 14, in [Wed Jul 09 14:51:19 2014] [error] from django.utils.six.moves.urllib.parse import quote [Wed Jul 09 14:51:19 2014] [error] ImportError: cannot import name quote The Apach

Re: Beginning with a feature flag system

2014-07-09 Thread Lee
Godjango has a short video on waffle. Might be enough to give you an idea on how to use it https://godjango.com/31-django-waffle/ I've not watched it myself yet though -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: nginx server not reflecting changes

2014-07-09 Thread Amar Kamthe
Me too having the same issue. I tried all the above things like reloading the nginx server and restarting the gunicorn but the changes are not reflected. Using command ps -aux | grep gunicorn. I found 1 gunicorn master and 3 worker threads running. I my case few of the files are reflecting but fe

Re: nginx server not reflecting changes

2014-07-09 Thread Lachlan Musicman
Have you tried pycclean? http://stackoverflow.com/questions/785519/how-do-i-remove-all-pyc-files-from-a-project ie: find . -name "*.pyc" -exec rm -rf {} \; then restart gnuicorn/nginx. cheers L. On 9 July 2014 22:20, Amar Kamthe wrote: > Me too having the same issue. > I tried all the above t

MySQL-python on ubuntu?

2014-07-09 Thread François Schiettecatte
Hi I am installing django on Ubuntu and have a question about installing MySQL-python? I know I can get install it on CentOS/Fedora/Red Hat with this: yum -y install MySQL-python but I cant find the MySQL-python package on apt-get? Is it in there under a different name? I can find 'py

Re: MySQL-python on ubuntu?

2014-07-09 Thread Jonathan Querubina
Do apt-get install python-dev apt-get install libmysqlclient-dev And then apt-get install python-mysqldb On Jul 9, 2014, at 9:57 AM, François Schiettecatte wrote: > Hi > > I am installing django on Ubuntu and have a question about installing > MySQL-python? > > I know I can get install

Re: MySQL-python on ubuntu?

2014-07-09 Thread Jorge Andrés Vergara Ebratt
The easiest way is through pip, install python-dev and then just do in your terminal a: pip install MySQL-Python 2014-07-09 7:57 GMT-05:00 François Schiettecatte : > Hi > > I am installing django on Ubuntu and have a question about installing > MySQL-python? > > I know I can get install it on C

Re: Is 1.7 RC1 supposed to support migrations changing user model? Not sure whether to report error as bug!

2014-07-09 Thread Michael Manfre
Report it. Migrations is a new feature and it is better to report any encountered issues now before it is released. Regards, Michael Manfre On Wednesday, July 9, 2014 3:10:26 AM UTC-4, graeme wrote: > > Having read through the comments on this bug: > > https://code.djangoproject.com/ticket/22563

Re: web based application to monitor sybase ase database server

2014-07-09 Thread C. Kirby
A fine plan. Do you have a question regarding django? On Wednesday, July 9, 2014 1:20:48 AM UTC-5, anantha sharma wrote: > > Hi, > > I am planing to build web based application to monitor sybase ase database > server the details are given below. > > > In this moment we are monitoring sybase ASE d

Fighting with sqlcustom

2014-07-09 Thread Malik Rumi
Background: I am new to Django and Python, having started on Windows this past December. Currently I am working in a Vagrant precise64 box, and wanted to import one of my old Windows apps which was done on sqlite3 to my current postgres. Once I got that done, Django told me I would need to run

Re: nginx server not reflecting changes

2014-07-09 Thread Sandeep kaur
On Wed, Jul 9, 2014 at 5:50 PM, Amar Kamthe wrote: > > Me too having the same issue. > I tried all the above things like reloading the nginx server and restarting the gunicorn but the changes are not reflected. > Using command ps -aux | grep gunicorn. I found 1 gunicorn master and 3 worker threads

Re: nginx server not reflecting changes

2014-07-09 Thread Amar Kamthe
Yes tried that out but still not working. I am using python 2.7.2 and django 1.4.1. On Jul 9, 2014 5:59 PM, "Lachlan Musicman" wrote: > Have you tried pycclean? > > > http://stackoverflow.com/questions/785519/how-do-i-remove-all-pyc-files-from-a-project > > ie: find . -name "*.pyc" -exec rm -rf {

Re: Help me: Django 1.6.4 + mod_wsgi Error

2014-07-09 Thread Russell Keith-Magee
Hi LongYuan, It's difficult to say for certain, but it looks to me like your Django install is corrupted. The error you're seeing indicates that an import is failing; if you've got a clean install of Django 1.6.4 like you say, that import should work without any problems. Two things to try: * S

MultiValueDictKeyError in Django admin edit inline generic model

2014-07-09 Thread carlos
Hi, i have this error when i edit the data, is similar error the next link http://stackoverflow.com/questions/19741314/multivaluedictkeyerror-in-django-admin but the only different is i use generic relation, this is my models.py class Photos(models.Model): name = models.CharField(max_length=150)

Re: MultiValueDictKeyError in Django admin edit inline generic model

2014-07-09 Thread carlos
Hi, me again :) i forgot mention a use the latest release django 1.6.5 and python 2.7.5 any help or tips? thank. On Wed, Jul 9, 2014 at 9:38 PM, carlos wrote: > Hi, i have this error when i edit the data, is similar error the next link > > > http://stackoverflow.com/questions/19741314/multiva

Contacts

2014-07-09 Thread Lachlan Musicman
Hola, So I need a contact app. I could write one myself, but there are a gazillion forks of something that seems quite comprehensive, django-contacts. This is the first time I've used a third party app that adds models to my project. I did (in a dev virtualenv) pip install django-contacts, added

Re: Contacts

2014-07-09 Thread Esau Rodriguez
You need to import classes from models. Try from contacts.models import Person (or any other class). Regards, Esau Rodriguez. El 10/07/2014 06:44, "Lachlan Musicman" escribió: > Hola, > > So I need a contact app. I could write one myself, but there are a > gazillion forks of something that seems