Hi Django users group. I am test and learning django out. I have a testing server and got my test page up.
Started to play with the Django suit control panel and ran in to some problems with my setup. *Server: Digital Ocean one click install.* Ubuntu 14.04 Nginx Postgres python 2.7 django 1.6 *Test server* http://162.243.201.237/ *Admin panel: *http://django-suit.readthedocs.io/en/develop/ http://162.243.201.237/admin/ user: demo pasword: demo *Static file command I ran* python manage.py collectstatic results: 0 static files copied, 116 unmodified. *Setting.py: Basics * DEBUG = False TEMPLATE_DEBUG = False ALLOWED_HOSTS = ['*'] STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"), '/home/django/django_project/static/', *Nginx setting:* # Your Django project's media files - amend as required location /media { alias /home/django/django_project/django_project/media; } # your Django project's static files - amend as required location /static { alias /home/django/django_project/django_project/static; } # Proxy the static assests for the Django Admin panel location /static/admin { alias /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin/; } location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; proxy_pass http://app_server; } My goal is to get the Django suit working. I do not see anything in my static files directory for the admin suit so the css can be applied. I am missing something very simple to get this working. Thank you for taking time to look at this and wish to get some clues. Roger -- 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. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f0c19816-b477-43ba-9953-d4793bdfac80%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.