Comments (4)
Thank you for the report.
What happens if an email address longer than 30 characters is used?
Need to make tests, that's how we know what'll happen for sure %)
from django-sitegate.
Wow. It's been 3 years and this is what happens (with Postgresql).
It throws "DataError: value too long for type character varying(30)"
I tried to wrap my view in try...except, but didn't work as the error is thrown inside of the (in my case) the ModernSignup flow (the @signup_view decorator).
Is there a way to "wrap" this without modifying add_user inside '...sitegate\signup_flows\modern.py'?
I should mention that the username field is now varchar 150 in Django 1.10 as per https://code.djangoproject.com/ticket/20846
from django-sitegate.
Yeah, it's been a while %)
Some improvements are made, you can verify it from master
.
We now issue VlidationError so that a user sees a note on maximum allowed length.
from django-sitegate.
Fix released.
from django-sitegate.
Related Issues (9)
- Example views fail in Django 1.5+ HOT 5
- crispy forms support HOT 3
- Missing migration (minor issue) HOT 1
- Creating new Signup/Signin Flows HOT 3
- Django 1.8 says that there are changes that is not reflected in a migration when running migrate HOT 3
- How to change "Default redirect URL" HOT 2
- @redirect_signedin issues AttributeError
- AttributeError: 'OrderedDict' object has no attribute 'insert' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-sitegate.