Fixed #32394 -- Changed project template settings to use relative STATIC_URL.
Refs #25598 which added original support for relative STATIC_URL and MEDIA_URL.
This commit is contained in:
parent
63d239db03
commit
9d05add447
|
@ -117,7 +117,7 @@ USE_TZ = True
|
||||||
# Static files (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/{{ docs_version }}/howto/static-files/
|
# https://docs.djangoproject.com/en/{{ docs_version }}/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = 'static/'
|
||||||
|
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#default-auto-field
|
||||||
|
|
|
@ -258,6 +258,10 @@ Miscellaneous
|
||||||
|
|
||||||
* Support for ``cx_Oracle`` < 7.0 is removed.
|
* Support for ``cx_Oracle`` < 7.0 is removed.
|
||||||
|
|
||||||
|
* Starting with 4.0, new projects are generated with :setting:`STATIC_URL` set
|
||||||
|
to the relative path ``'static/'``. This allows for the ``SCRIPT_NAME`` to be
|
||||||
|
prepended as necessary.
|
||||||
|
|
||||||
.. _deprecated-features-4.0:
|
.. _deprecated-features-4.0:
|
||||||
|
|
||||||
Features deprecated in 4.0
|
Features deprecated in 4.0
|
||||||
|
|
Loading…
Reference in New Issue