Hola Richar, he estado intentando probar tu proyecto. Como puedes ver en la imagen que adjunto, una vez levantado el Redis, el Nginx y nodeJS, lanzo el gunicorn con el siguiente comando dentro del entorno virtual obteniendo el siguiente error:
gunicorn -b 127.0.0.1:8000 wsgi
2017-05-14 04:22:55 [4749] [INFO] Starting gunicorn 17.5
2017-05-14 04:22:55 [4749] [INFO] Listening at: http://127.0.0.1:8000 (4749)
2017-05-14 04:22:55 [4749] [INFO] Using worker: sync
2017-05-14 04:22:55 [4754] [INFO] Booting worker with pid: 4754
2017-05-14 06:23:16 [4754] [ERROR] Error handling request
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 126, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 187, in call
self.load_middleware()
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 47, in load_middleware
mw_instance = mw_class()
File "/usr/local/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in init
for url_pattern in get_resolver(None).url_patterns:
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 365, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 360, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/home/kpanic/HatosGanaderos/SIDGV/urls.py", line 8, in
admin.autodiscover()
File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/init.py", line 25, in autodiscover
mod = import_module(app)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/usr/local/lib/python2.7/dist-packages/guardian/init.py", line 5, in
from . import checks
File "/usr/local/lib/python2.7/dist-packages/guardian/checks.py", line 2, in
from django.core.checks import register, Tags, Warning
ImportError: cannot import name register
Django version = 1.6.5
Django-registration = 0.8
¿Sabes qué puede ser?
Gracias.
Un saludo.