vhf / resrc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On registration, check if username is already taken

vhf opened this issue · comments

One user complained that he didn't knew why his account creation failed. Thing is, his chosen username already was taken.

We need to make it clear in this case.

Hi Victor,

I am currently looking at this problem. The registration form is almost entirely made out of a HTML layout, which means that actually none of the errors present in the django form object are reported to the user. I will send you a PR as soon as I manage to get server-side generated errors and Abide errors to coexist peacefully.

Hi Yannis, please do.

I know this HTML layout inside a Django crispy form is awful, and I don't quite remember the reason for this hack. Let me know if you find a better solution, I'll gladly accept your PR! :)

Closed by ff78aec. Thanks Yannis !