What am doing wrong in below admin & model.py; I expect the list display
will display values of all three column values from list_display, but it
doesnt; Particularly, the values of item_status & solution note not getting
shown in my admin view;
Admin.py:
class ItemAdmin(admin.ModelAdmin):
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.
also under
sites-enabled dir of nginx
listen
servername localhost
location /static {
alias /home/keeran/Desktop/IT_mgmt/static/;
index index.html index.htm;
autoindex off;
=
Also, updated the
[uwsgi]
# set the http port
http = :8080
p
;
> If you're using firefox then install firebug and check the NET tab for
> 404s to your CSS files.
>
> Paul
>
> On Fri, 2012-08-17 at 02:43 -0700, keeran wrote:
> > On the Django development server, django app works fine. But once I
> > setup the production tes
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
5 matches
Mail list logo