Re: DoesNotExist: Group matching query does not exist.

2015-11-12 Thread Robin Fourcade
Thanks for your reply, It was in the DB but, I don't know why, I had this issue. I made the migration a second time and this time, it worked. Thanks, Robin. -- Solved. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: Django on CentOS

2015-11-11 Thread Robin Fourcade
Riiigghh, After many many many tries, it finally worked ! Thanks again, thank you, everybody! Robin. -- SOLVED. -- 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

DoesNotExist: Group matching query does not exist.

2015-11-11 Thread Robin Fourcade
Hi, I'm working with the auth library. I've imported all of these: from django.shortcuts import render, redirect from pizza_club_order.forms import * from pizza_club_order.models import * from django.contrib import auth from datetime import timedelta, date, datetime, time But when I'm trying to

Re: Django on CentOS

2015-11-11 Thread Robin Fourcade
Hi, So I made another install with a new user (pizzaclub). I wrote this in the default.conf: ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /static /home/pizzaclub/pizzaclub/static

Re: Django on CentOS

2015-11-11 Thread Robin Fourcade
Hi, thanks for your answer. That's what I did. So if it's a big issue, I'll create a new user on my server and I'll redo the installation through this user ! Thanks, Robin. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Django on CentOS

2015-11-11 Thread Robin Fourcade
orial line after line, just to test (no even with my own project). Thanks again, Robin. Le mercredi 11 novembre 2015 10:04:44 UTC+1, James Schneider a écrit : > > > On Nov 10, 2015 9:46 AM, "Robin Fourcade" > wrote: > > > > Thanks James, > > I looked at many

Re: Django on CentOS

2015-11-10 Thread Robin Fourcade
Thanks James, I looked at many tutorials like: https://www.digitalocean.com/community/tutorials/how-to-install-the-django-web-framework-on-centos-7 https://devops.profitbricks.com/tutorials/deploy-django-with-virtualenv-on-centos-6/ Neither of these are for python 3.7 or higher. :/ i would gladly

Re: Django on CentOS

2015-11-10 Thread Robin Fourcade
Thanks Matthias, I set* os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pizza_club.settings") in my wsgi.py* Now I have *ImportError: Could not import settings 'pizza_club.settings' (Is it on sys.path?): No module named pizza_club.settings, referer: http://www.pizzaclub.fr/* Is that what you

Re: Django on CentOS

2015-11-09 Thread Robin Fourcade
Thanks for your answer James, As this server is only the run this project, I can install another linux distribution. I'm able to install theses : *CentOS 6 minimal system (64 bits)* Système de base openSUSE 13.1 (64 bits) Système de base Debian 7 Wheezy (64 bits) CentOS 6 avec Parallels Plesk Pan

Re: Django on CentOS

2015-11-09 Thread Robin Fourcade
Hi And thanks for your answer. Le lundi 9 novembre 2015 10:51:01 UTC+1, Gergely Polonkai a écrit : > > Hello, > > there’s a lot that is not clear for me in your included config: > > • Why are all those paths in WSGIPythonPath? > I'm not used to install django projects so I followed this tutorial

Re: Django on CentOS

2015-11-09 Thread Robin Fourcade
Hello, thanks for the answer. I've this code in my wsgi: import os, sys #Calculate the path based on the location of the WSGI script apache_configuration = os.path.dirname(__file__) project = os.path.dirname(apache_configuration) workspace = os.path.dirname(project) sys.path.append(workspace) os

Re: Django on CentOS

2015-11-08 Thread Robin Fourcade
Hi, Thanks for your answer ! (I'd add that even if apache is running, if I run the server on the port 8000, I can acces the django project on this port without any issue) Here's the log [Sun Nov 08 14:46:41 2015] [error] [client 109.10.154.52] mod_wsgi (pid=22420): Exception occurred processing

Django on CentOS

2015-11-08 Thread Robin Fourcade
hing to do. Can somebody help me ? Thanks, Robin Fourcade. -- 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. T