Refactor product create/update view
Check if user is staff
Refactor order related views
More refactoring of product views
Fix pagination for product list
Refactor customer views
Refactor payment detail view
Add missing decorator
Customize decorator to check staff
Refactor index view
Refactor order details view
Clean method for customer search
Add template tag to construct GET query
Add pagination for customer list view
Add missing trailing slashes
Fix imports newlines and order
Use more verbose variable names
Remove superfluous condition check
Move error handling to view
Use custom decorator