2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-04-20 00:11:09 +01:00

Update to-do lists and README text

This commit is contained in:
Philip Sargent
2022-02-20 00:21:56 +00:00
parent ab8813e389
commit 32e6d5f891
4 changed files with 31 additions and 29 deletions

View File

@@ -2,6 +2,15 @@ Confusions and incompatibilities when migrating to Django 1.10
meant conslidating the places we get CSS files and site media such as gifs
for page annoations.
Situation as of 19/2/2022:
The only use of STATIC or the /static/ path is by Django-provided admin pages which
we cannot chnage.
Locations of files are documented by comments at the bootom of the urls.py file.
flatviews, flatpages are now called expoviews, expopages.
we no longer load or use django.contrib.staticfiles
Situation as of 17/6/2020:
We have 3 folders for CSS files in 3 very different places:
1 in expoweb repo
@@ -17,7 +26,7 @@ These are (in /home/expo/ ):
2. troggle/media/css/ MEDIA_ROOT, MEDIA_URL - the url is /site_media/css/main3.css
3. static/admin/css STATIC_ROOT, STATIC_URL - the url is /static/admin/css/base.css
After installing Django, weneed to manually copy its CSS etc. files from,
After installing Django, we need to manually copy its CSS etc. files from,
e.g. /usr/lib/python3.7/site-packages/django/contrib/admin/static/admin/css
to
/static/admin/css/base.css