Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def simple(request, view):
- return django.shortcuts.render(request,
- view + ".html",
- {})
- for e in ["home",
- "about",
- "pricing",
- "subjects",
- "subjects_math",
- "subjects_science",
- "subjects_reading",
- "subjects_writing",
- "subjects_others",
- "thank_you"]:
- globals()[e] = lambda request : simple(request, e)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement