Skip to content

Commit

Permalink
use base year from 2 years ago (2023-24 records)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Oct 23, 2024
1 parent 25a47b6 commit 394b93c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openstax/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@
urlpatterns += staticfiles_urlpatterns()
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
urlpatterns += [
path('favicon\.ico', RedirectView.as_view(url=settings.STATIC_URL + 'pages/images/favicon.ico')),
path('favicon.ico', RedirectView.as_view(url=settings.STATIC_URL + 'pages/images/favicon.ico')),
path('__debug__/', include('debug_toolbar.urls'))
]
2 changes: 1 addition & 1 deletion salesforce/management/commands/update_opportunities.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def handle(self, *args, **options):

base_year = now.year
if now.month < 7: # if it's before July, the base year is the previous year (4/1/2024 = base_year 2023)
base_year -= 1
base_year -= 2

# TODO: I don't think this is needed - updating the records should be fine, and keeps something on the form
# TODO: for the user. Eventually, this should update CMS DB with updated data if they fill out the form
Expand Down

0 comments on commit 394b93c

Please sign in to comment.