valentinogagliardi / django-monitus Goto Github PK
View Code? Open in Web Editor NEWHTTP error reporting middleware(s) for Django
Home Page: https://pypi.org/project/django-monitus/
License: MIT License
HTTP error reporting middleware(s) for Django
Home Page: https://pypi.org/project/django-monitus/
License: MIT License
Use locmem template loader in tests instead of files. See https://forum.djangoproject.com/t/using-a-string-as-template-in-cbv/5797/5
Use override_settings
to enable only the necessary middlewares in testing.
The form in context_data does not have always an error_messages attribute. The middleware should trigger only for invalid logins, not for every form.
It should handle anonymous users.
Use invalid login string instead of checking against AuthenticationForm
.
Add an Error 400 middleware
Implement a failed login attempts middleware.
Consider adding a Successful login middleware
The email message in response to 403 should include:
Test against Postgresql to avoid concurrency issues with Sqlite in the future.
Handle KeyError: 'form'
FailedLoginMiddleware
should not send emails on GET and HEAD requests. Found the reason: form.error_messages is always pre-populated. The middleware must send emails only if the auth form has errors.
Make the middlewares async capable.
If username is None use the user email in error 403 middleware.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.