diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -38,11 +38,15 @@ which is vital to writing code for the webapp. So the URL dispatch is declarativ The API urls return TSV or JSON and are new in July 2020. """ -todo = '''Replace most re_path() with modern and simpler path(). -The admin and logout paths need to stay using re_path() as they -have to be locked to the start. -The final _edit and CATCHALL also have to use re_path(). -Test VERY CAREFULLY for each change. It is fragile. +todo = ''' +- Replace more re_path() with modern and simpler path(). Careful: some have to stay as re_path() + +- The admin and logout paths need to stay using re_path() as they + have to be locked to the start. + +- The final _edit and CATCHALL also have to use re_path(). + +- Test VERY CAREFULLY for each change. It is fragile. ''' # Many of these patterns do not work because troggle spent many years broken and we have |