CodeWithAloha / uipa

Helping submit, track, and share public records requests in Hawaii
http://uipa.org
MIT License
10 stars 6 forks source link

task: initial url routing and templating #81

Closed tyliec closed 8 months ago

tyliec commented 8 months ago

Description

As recommended by @stefanw here, this PR introduces:

Instructions

For anyone else looking at this PR, the way you can introduce new template overrides is as follows:

This settings code does the magic of importing any new template file automatically under the uipa_org/templates directory.

For introducing any new url routing, look at uipa_org/theme/urls.py's urlpatterns variable here: https://github.com/CodeWithAloha/uipa/blob/3288d936ef84412d43e7cd39251efecdbbd9fac1/uipa_org/theme/urls.py#L59-L60.

Example

Demo Image

Screenshot 2024-03-24 at 6 17 18 PM
russtoku commented 8 months ago

Awesome!