diff --git a/nerdshope/views.py b/nerdshope/views.py index 7f9e93e..c4456a8 100644 --- a/nerdshope/views.py +++ b/nerdshope/views.py @@ -9,7 +9,7 @@ def nerdshope(): sums={curr:sum([n.balance for n in filter(lambda x:x.currency==curr,accounts)]) for curr in set(map(lambda x:x.currency,accounts))} moneyblob='\n
  • '.join([f'{k}: {v}' for k,v in sums.items()]) moneyblob='Current monetary state: ' - return {'title':"Nerds' Hope",'content':"Store stuff. TODOing. Will include inventory and budget. FB
    \nAddress is 21 Kensington St, Glenorchy
    \nOff dates 2022: 26th August (more TBA). Additionally, on some weeks (TBA) the store will move around the back (through the gate) around 18:00 to make room for a youth group. If in doubt, ask the youth group for directions.
    \n"+moneyblob,'date':Update.objects.get_or_create(page='nh_main')[0].date} + return {'title':"Nerds' Hope",'content':"Store stuff. TODOing. Will include inventory and budget. FB
    \nAddress is 21 Kensington St, Glenorchy
    \nThe store isn't open when other events happen on Fridays, usually the last Friday of each month. Additionally, on the first and third weeks of each month the store will move around the back (through the gate) around 18:00 to make room for a youth group. If in doubt, ask the youth group for directions.
    \nFull list of dates:\n
    1. 16th Sept - round the back later
    2. \n
    3. 30th Sept - closed
    4. \n
    5. 21st Oct - round the back later
    6. \n
    7. 28th Oct - closed
    8. \n
    9. 4th Nov - round the back later
    10. \n
    11. 18th Nov - round the back later
    12. \n
    13. 25th Nov - closed
    14. \n
    15. 2nd Dec - round the back later
    16. \n
    17. 16th Dec - round the back later
    18. \n
    19. 30th Dec - maybe party
    \n"+moneyblob,'date':Update.objects.get_or_create(page='nh_main')[0].date} @rerender def budget():