django-static-root-finder-0.3.1


توضیحات

A static files finder to find files in the STATIC_ROOT directory.
ویژگی مقدار
سیستم عامل -
نام فایل django-static-root-finder-0.3.1
نام django-static-root-finder
نسخه کتابخانه 0.3.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Robin
ایمیل نویسنده robin.winslow@canonical.com
آدرس صفحه اصلی https://github.com/ubuntudesign/django-static-root-finder
آدرس اینترنتی https://pypi.org/project/django-static-root-finder/
مجوز UNKNOWN
Django STATIC\_ROOT finder ========================== A static files finder to find files in the STATIC\_ROOT directory. Setup ----- .. code:: python # settings.py STATICFILES_FINDERS = ['django_static_root_finder.finders.StaticRootFinder'] Definition ---------- Set your ``STATIC_ROOT``. E.g.: .. code:: python # settings.py STATIC_ROOT = 'static' # For example STATIC_URL = '/static/' Usage ----- The URL ``http://example.com/static/css/global.css`` should successfully link to ``./static/css/global.css``. Production --- By default, when `DEBUG = False` as in production use, static files aren't served with Django at all. To change this behaviour, enable a WSGI static serving module like [dj-static](https://github.com/kennethreitz/dj-static).


نحوه نصب


نصب پکیج whl django-static-root-finder-0.3.1:

    pip install django-static-root-finder-0.3.1.whl


نصب پکیج tar.gz django-static-root-finder-0.3.1:

    pip install django-static-root-finder-0.3.1.tar.gz