Finally, I understood the solution is
 
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns += staticfiles_urlpatterns()
Thanks,
keeran

On Friday, August 17, 2012 3:13:00 PM UTC+5:30, keeran wrote:

> On the Django development server, django app works fine. But once I setup 
> the production test run, I get only the text contents, where template views 
> are not shown as intended. What am I going wrong? 
>
> I have django 1.5 latest.
>
>  Nginx - 0.8.54 
>
> uWSGI - 1.2.5
> Also tried FAPWS3.0 similar result;
>  
> cmd for uWSGI:
> =============
> sudo uwsgi --ini test.ini
>  
>  
>
> test.ini content:
> ===============
> [uwsgi]
> # set the http port
> http = :8080
> python_path = /home/test/Desktop/IT_mgmt/IT_mgmt/settings.py/
> # change to django project directory
> chdir = /home/test/Desktop/IT_mgmt
> # load django
> module = IT_mgmt.wsgi
>
>
> <https://lh5.googleusercontent.com/-4WWuUmXylqM/UC4R-sdwa6I/AAAAAAAACR0/EQA4I756zjg/s1600/django-default-Vs-uWSGI-r-FAPWS-output.png>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/NAtpcDxjOtYJ.
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 more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to