Re: Installation

2016-07-27 Thread Julien Castets
e /etc/nginx/sites-enabled/ $> ln -s /etc/uwsgi/apps-available/my_django_project.ini /etc/uwsgi/apps-enabled/ $> service uwsgi restart $> service nginx restart More details on the image's github: https://github.com/scaleway-community/scaleway-python/tree/master/overl

Re: Forms admin

2015-03-05 Thread Julien Castets
he output > of forms ? I would like to control the layout of the form of each module , > it is possible? Hi, Give a look to https://github.com/maraujop/django-crispy-forms -- Julien Castets -- You received this message because you are subscribed to the Google Groups "Django users&qu

Re: Authorization workflow model

2011-09-06 Thread Julien Castets
> 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 group, send email to > django-users+unsubscr...@googlegroups.com. > For m

queryset which returns the same result several times

2011-09-01 Thread Julien Castets
hello www, This is the model: from django.contrib.auth.models import User class Task(models.Model): creator = models.ForeignKey(User) assigned_to = models.ManyToManyField(User) And there are four users: bob, roger, dan and joe I want to get all the tasks where the current user is the creat

Exclude results with ManyToManyField

2011-03-23 Thread Julien Castets
Hello, from django.contrib.auth.models import User class Team(models.Model): users = models.ManyToManyField(User) I would like to retrieve every User in my database who does not belong to a team. I'm facing to this problem for several hours, and I found a *very* crappy solution : def _get_

Re: Some clues on multi language webapp on Django

2011-03-22 Thread Julien Castets
email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Julien Castets +33 (0)6.85.20.10.03 --