InvenTree/InvenTree
Oliver 61d613ff34
Base URL configuration options (#4749)
* Improve construct_absolute_url method

- Look for hard-coded site URL if provided
- Otherwise look for specified site URL
- Otherwise look at the provided request object

* Refactor existing code which used base URL setting

* Update docs

* Validate that a provided base URL is valid
2023-05-02 22:14:57 +10:00
..
build Replace mklint with djlint (#4746) 2023-05-02 20:03:52 +10:00
common Code style improvements (#4683) 2023-04-28 20:49:53 +10:00
company Replace mklint with djlint (#4746) 2023-05-02 20:03:52 +10:00
InvenTree Base URL configuration options (#4749) 2023-05-02 22:14:57 +10:00
label Base URL configuration options (#4749) 2023-05-02 22:14:57 +10:00
locale New Crowdin updates (#4737) 2023-05-02 14:46:46 +10:00
order Base URL configuration options (#4749) 2023-05-02 22:14:57 +10:00
part Base URL configuration options (#4749) 2023-05-02 22:14:57 +10:00
plugin Make sure plugins are always on a new line (#4721) 2023-05-01 23:26:23 +10:00
plugins Update documentation URLs (#4325) 2023-02-10 10:39:57 +11:00
report Base URL configuration options (#4749) 2023-05-02 22:14:57 +10:00
script Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
stock Replace mklint with djlint (#4746) 2023-05-02 20:03:52 +10:00
templates Replace mklint with djlint (#4746) 2023-05-02 20:03:52 +10:00
users Code style improvements (#4683) 2023-04-28 20:49:53 +10:00
config_template.yaml Base URL configuration options (#4749) 2023-05-02 22:14:57 +10:00
gunicorn.conf.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
manage.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00