Ok, Ok, I've got it, read docs. " The static files tools are mostly designed to help with getting static files successfully deployed into production. This usually means a separate, dedicated static file server, which is a lot of overhead to mess with when developing locally. Thus, the staticfiles app ships with a *quick and dirty helper view* that you can use to serve files locally in development.
" But why It must be so complex? Why default admin statics become unavailable, if you use another server and not that of development: "runner"? Should it mean, that I must find elsewhere my admin statics, copy-paste them to some place and poin to this place from settings.py? OK.... I do not like this burden. On 10 August 2011 21:52, Peter Kovgan <peter.kov...@gmail.com> wrote: > I resolved it, setting DEBUG = True, it was False for some reason, and it > worked so on windows. > > I have some doubts, that static files should become unavailable when you > set debug=false. > > What do you think? > > > > On 10 August 2011 21:46, Peter Kovgan <peter.kov...@gmail.com> wrote: > >> I seriously tried. >> you did not get, that I do not see statics of the ADMIN directory, >> not of my own creations. >> EVEN ADMIN does not work. >> So basically, python does not see admin's preinstalled static files. >> To be sure: I'm a beginner, I go through my first tutorial. >> >> I ran the same application on windows installation and it worked. >> Now on linux it refuses to work. >> crossplatform is not a hot django goal, as far as I see. >> I edited path to templates - that was all difference that I've done after >> I moved to linux. >> >> I'm thinking, that may be my django installation went wrong... >> Now I'm going to reinstall everything from scratch. >> Thank you for help. >> >> >> >> >> On 10 August 2011 16:24, Tom Evans <tevans...@googlemail.com> wrote: >> >>> On Wed, Aug 10, 2011 at 3:53 AM, Peter Kovgan <peter.kov...@gmail.com> >>> wrote: >>> > Thank you guys. >>> >.... >>> > >>> "/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/storage.py", >>> > line 23, in __init__ >>> > raise ImproperlyConfigured("You're using the staticfiles app " >>> > django.core.exceptions.ImproperlyConfigured: You're using the >>> staticfiles >>> > app without having set the STATIC_ROOT setting. >>> > >>> > I tried to resolve it myself, but nothing has worked. >>> > >>> >>> Seriously? Is there something unclear about the instructions in that >>> error message? >>> >>> Did you try setting STATIC_ROOT and reading the fine documentation >>> about STATIC_ROOT? >>> >>> Cheers >>> >>> Tom >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Django users" group. >>> 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. >>> >>> >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. 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.