Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| class LoginRequiredMixin(object): | |
| """ | |
| View mixin which requires that the user is authenticated. | |
| """ | |
| @method_decorator(login_required) | |
| def dispatch(self, request, *args, **kwargs): | |
| return super(LoginRequiredMixin, self).dispatch( | |
| self, request, *args, **kwargs) |