Skip to content
This repository has been archived by the owner on Oct 28, 2018. It is now read-only.

Improving the profile Page (Difficulty - Medium) #2

Open
EmberCS15 opened this issue Nov 28, 2017 · 5 comments
Open

Improving the profile Page (Difficulty - Medium) #2

EmberCS15 opened this issue Nov 28, 2017 · 5 comments

Comments

@EmberCS15
Copy link

Currently, the profile page does not have many features related to information on the user or on uploading profile pictures. Make related changes to bring the following features on board.

  1. Create changes to the database to allow the user to input information such as contact info, favorite genres etc. Bring the profile picture to the left of the page and other information aligned along with it to the right. Try not to use input fields instead give an edit button upon clicking which the input field pops up and the user can then make relevant changes. Provide SAVE button with proper functionality.

Files to be modified - models.py,views.py,profile.html
Related article - https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html

  1. Relevant changes to allow users to upload their profile pictures.For this you need to create a new media folder and also make relevant changes to settings.py . Also you need to know about file fields.

Files to be modified - models.py , settings.py,profile.html, views.py
Related materials - Django Tutorial by Bucky Roberts Video lecture - 32,33,34

Difficulty - Medium

@vanshsoni
Copy link

Hey, @EmberCS15 this is ok for the profile page.
I am working on this and adding more field to the user profile
screenshot 128

@EmberCS15
Copy link
Author

The overall structure is Ok. Do a little bit more with the background colors. Bring some contrast. Also just below the profile picture you can display more information as part of the first point of the issue. I want you to modify the database so as bring in some more information on the user. See the related link on how to extend Django's default user model. The structure seems fine.

@EmberCS15
Copy link
Author

You may have to use FileField in the user model to allow users to upload images. For now, there is no support for the profile in the database. Make the required changes to support a profile. Godspeed.

@vanshsoni
Copy link

Hey, @EmberCS15 Can I make PR with above UI Only. As I am not able to make more changes right now

@EmberCS15
Copy link
Author

EmberCS15 commented Jan 4, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants