Hi,
Everywhere else in my project where I use django messages framework and
translation everything works like charm, except this one place.
I have a simple view like this:
from django.utils.translation import ugettext_lazy as _def
toggle_publish(request,action,post_id):
try:
post =
you mean by -
"The user isn't in one of the new group cause he is logged in" .
Is it possible the reason to be something from the virtual env since the
directory /webapps/my-app/run/ is inside virtual env path.
Thanks,
Kaloian
On Friday, March 6, 2015 at 5:01:55 PM UTC+2, aRkade
permissions to /webapps/my-app/run/
but still no success. I never tried to create the sock file myself and the
/webapps/my-app/run/ dir is empty all the time. I cannot understand what is
stopping gunicorn from creating the sock file in this directory.
Regards,
Kaloian
On Thursday, February 26
icorn.sock *
This is why I thought that the missing sock file is failing it to start. Do
you think it could be something else?
I have already tried to add the absolute path in gunicorn_start but nothing
changed.
Thanks,
Kaloian
On Wednesday, February 25, 2015 at 11:55:43 AM UTC+2, Erik Cederstr
I have an ansible provisioned VM based on this one
https://github.com/jcalazan/ansible-django-stack but for some reason trying
to start Gunicorn gives the following error:
*Can't connect to /path/to/my/gunicorn.sock *
and in nginx log file:
*connect() to unix:/path/to/my/gunicorn.sock failed
Hi Russel,
Great to see this documented. I will most probably go with the "api_key *in
addition* to the integer primary key" solution to avoid additional problems.
Thanks,
Kaloian
On Saturday, February 16, 2013 4:25:41 AM UTC+2, Russell Keith-Magee wrote:
>
> Hi Kaloian,
>
s')
I can easily find workaround for that problem by writing custom decorator for
example but I am not sure this is supposed to be this way. Or may be I am
missing something here ?
Thanks,
Kaloian
--
You received this message because you are subscribed to the Google Groups
"Djang
;s own report. For
> performance reasons, you also probably want to set it db_index=True, since
> you're going to be searching on that field fairly often, so having an index
> on it makes sense.
>
Thanks for the notes I will for sure add these, but shouldn't both(unique
and db_i
I am having the following custom user model trying to use the Django 1.5
AbstractBaseUser:
class Merchant(AbstractBaseUser):
email = models.EmailField()
company_name = models.CharField(max_length=256)
website = models.URLField()
description = models.TextField(blank=True)
ap
Hello,
I am getting the following error when trying to run my tests with
fixtures:
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py",
line 190, in handle
for obj in objects:
File
"/usr/local/lib/python2.7/dist-packages/django/core/serializers/j
10 matches
Mail list logo