junction
junction copied to clipboard
Add additional field called display_name in profile model
if user signups using 3rd party account, username is generating automatically based on name.
Yes, this was already asked by one of the user. We should have this.
+1
On Sat, May 30, 2015 at 12:58 PM, Anand Reddy Pandikunta < [email protected]> wrote:
if user signups using 3rd party account, username is generating automatically based on name.
— Reply to this email directly or view it on GitHub https://github.com/pythonindia/junction/issues/264.
Regards Kracekumar Ramaraju http://kracekumar.com +91 85530 29521
How about setting SOCIALACCOUNT_AUTO_SIGNUP = False
?
by setting that all auth will display a default form with email & username after verification from 3rd party. we have to override that form to display only username. https://django-allauth.readthedocs.org/en/latest/configuration.html
or we can have a profile page where user can change it anytime?
@ChillarAnand how about having this option available at both the places.
@theskumar :+1:
I would lean to have profile section where user can modify these auto generated stuff. Signup process should be really quick.
So along with Social Accounts
in the drop down we can have Edit Profile option.
We need also bigger dashboard for users to see their talks and selected talks and tickets information etc in the future, we will have separate issue for that.
For now we can have Edit profile section alone.
username are not meant to be changeable. I propose to add field alias_name in profile page. if alias_name value is entered we show it else show username. This is much easier and consistent way.
@ChillarAnand @kracekumar : Let me know our thoughts ?
@vnbang2003 Makes sense to me. We can call it Display Name
.
I am working on this issue
@vsham20 Looks like we don't have custom user model yet. We are using default User
provided by django. We have to create new model here.
Dashboard view https://github.com/pythonindia/junction/blob/master/junction/profiles/views.py
@ChillarAnand hii...how can i setup this on my local machine. I see the documentation but i am getting some errors.
Please post the errors you are getting.
@ChillarAnand here http://paste.openstack.org/show/483364/ i am getting this "InsecurePlatformWarning" and i cant access it via browser too
It is just a warning. You can ignore that if packages are installed successfully.
@ChillarAnand cool ...and what about accessing it?
If that step is completed, all packages are installed. What do you want to access?
@ChillarAnand I am Working on it!!
@ibrahim45 any updates?
@ChillarAnand it's not @iambibhas, it's @ibrahim45
@ChillarAnand Is the display name have to be shown in navigation bar?
I think it is better to show dislay_name
in the navigation bar if user has set it.
@ChillarAnand Is it right to use django template tag for showing display_name? please suggest if you have any idea on this.
If it is stored in user model, {{ user.display_name }}
should work?
Is someone working over this issue? If not, I'd like to take it up