fix: add new batch form enhancements (#43) invite request doctype and flow (#42)

This commit is contained in:
pateljannat
2021-05-01 14:37:57 +05:30
parent 4bc05bfda8
commit 52f16131af
17 changed files with 323 additions and 40 deletions

View File

@@ -136,7 +136,6 @@ primary_rules = [
{"from_route": "/sketches/<sketch>", "to_route": "sketches/sketch"},
{"from_route": "/courses/<course>", "to_route": "courses/course"},
{"from_route": "/courses/<course>/<topic>", "to_route": "courses/topic"},
{"from_route": "/hackathons", "to_route": "hackathons"},
{"from_route": "/hackathons/<hackathon>", "to_route": "hackathons/hackathon"},
{"from_route": "/hackathons/<hackathon>/<project>", "to_route": "hackathons/project"},
{"from_route": "/dashboard", "to_route": ""},
@@ -163,7 +162,8 @@ whitelist = [
"/hackathons",
"/dashboard",
"/join-request"
"/add-a-new-batch"
"/add-a-new-batch",
"/new-sign-up"
]
whitelist_rules = [{"from_route": p, "to_route": p[1:]} for p in whitelist]