Argus icon indicating copy to clipboard operation
Argus copied to clipboard

Give React SPA frontend specific things a home

Open hmpf opened this issue 1 year ago • 4 comments

Closes #900

App settings come in two varieties:

  1. App specific settings, often with a prefix
  2. Standard django settings that the app assumes is set in a certain way

Much have been written about the best way to tackle 1. Not much about 2.

Furthermore standard django settings are of two types: Overridable (like DEBUG) and should be mutated in place (MIDDLEWARE, TEMPLATES..) The trend is towards more complex settings like the latter.

Finally, there's what to do about the root urls.py.

hmpf avatar Oct 09 '24 13:10 hmpf

Nice, I like where this is going :), Do you want to make spa an app?

elfjes avatar Oct 09 '24 13:10 elfjes

Nice, I like where this is going :), Do you want to make spa an app?

It doesn't need to be. It has no models, templates, static files, template tags or other things that is autodiscovered.

The goal is to delete the directory and anything mentioning "spa" one happy day.

hmpf avatar Oct 11 '24 07:10 hmpf

test_CI.py had DOS line ends which really sucks when "git add -p" with new code that has unix line ends. The commit "Strip \r from lineends" needs to go in .git_blame_ignore_revs when everything is ready.

hmpf avatar Oct 11 '24 07:10 hmpf

Replaced by #907

hmpf avatar Oct 15 '24 10:10 hmpf