I browsed these question but not found correct answer. Here is my problem..
I have some static files.Here is the dir..
/home/user/djangoproject/djangoapp/static
/home/user/djangoproject/templates/base.html (where I have modify some for django admin page)
After setting debug = False, I have change setting.py like this
DEBUG = False
ALLOWED_HOSTS = ['*',]
STATIC_URL = '/static/'
STATIC_ROOT = "/home/user/djangoproject/djangoapp/static/"
and my urls.py is
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^$',login),# and some more views
)+ static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
After that I have collect all admin static to my app's custom static dir path like this..
/home/user/djangoproject/djangoapp/static/admin/css & all others
Now my problem is that when I am using my custom static file, It's working but for example admin login page & admin site, admin static file is not working..So where am I doing wrong, or what extra I have to do.
Thanks in advance...