Skip to content

Commit

Permalink
updates from linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Solorio committed Oct 25, 2021
1 parent 62b59fb commit 578f522
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions app/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,15 +366,13 @@
name='hackathon_project_page'
),
path('modal/save_project/', dashboard.views.hackathon_save_project, name='hackathon_save_project'),

url(r'^hackathon/<str:hackathon>/?$/?', dashboard.views.hackathon, name='hackathon'),
url(r'^hackathon/<str:hackathon>/<str:panel>/?$/?', dashboard.views.hackathon, name='hackathon'),

# list all hackathons
re_path(r'^hackathon-list/?$', dashboard.views.get_hackathons, name='get_hackathons'),
re_path(r'^hackathon/?$', dashboard.views.get_hackathons, name='get_hackathons'),
re_path(r'^hackathons/?$', dashboard.views.get_hackathons, name='get_hackathons'),

url(r'^register_hackathon/', dashboard.views.hackathon_registration, name='hackathon_registration'),
path('api/v0.1/hackathon/<str:hackathon>/save/', dashboard.views.save_hackathon, name='save_hackathon'),
path('api/v1/hackathon/<str:hackathon>/prizes', dashboard.views.hackathon_prizes, name='hackathon_prizes_api'),
Expand Down Expand Up @@ -737,7 +735,11 @@
name='no_applicant_reminder'
),
re_path(r'^_administration/email/match_distribution$', retail.emails.match_distribution, name='match_distribution'),
re_path(r'^_administration/email/clr_match_claim$', retail.emails.grant_match_distribution_final_txn, name='clr_match_claim'),
re_path(
r'^_administration/email/clr_match_claim$',
retail.emails.grant_match_distribution_final_txn,
name='clr_match_claim'
),

# docs
re_path(r'^_administration/docs/', include('django.contrib.admindocs.urls')),
Expand Down Expand Up @@ -785,7 +787,11 @@

# for robots
url(r'^robots.txt/?', retail.views.robotstxt, name='robotstxt'),
path('sitemap.xml', cache_page(604800)(sitemap_index), {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.index'),
path(
'sitemap.xml',
cache_page(604800)(sitemap_index), {'sitemaps': sitemaps},
name='django.contrib.sitemaps.views.index'
),
path(
'sitemap-<section>.xml',
cache_page(604800)(sitemap), {'sitemaps': sitemaps},
Expand Down
2 changes: 1 addition & 1 deletion app/assets/v2/js/grants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if (document.getElementById('grants-showcase')) {
observed: null,
sticky_active: false,
fetchedPages: [],
activeTimeout: null,
activeTimeout: null
},
methods: {
toggleStyle: function(style) {
Expand Down

0 comments on commit 578f522

Please sign in to comment.