Skip to content

Commit 924c72a

Browse files
committed
Update username properly in profile
1 parent 9dde416 commit 924c72a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

facebook_clone/profile_app/templates/profile_app/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1>My Profile</h1>
2323
<br>
2424
<br>
2525
<br>
26-
<h1>Omotosho Micheal<span style="font-size: 30px;"> ({{ account.username }})</span></h1>
26+
<h1><span style="font-size: 30px;"> {{ account.username }} </span></h1>
2727
{% if friends|length == 0 or friends|length == 1 %}
2828
<h5>{{ friends|length }} <span style="color: gray;">friend</span></h5>
2929
{% else %}

facebook_clone/requirements.txt

402 Bytes
Binary file not shown.

facebook_clone/social/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
INSTALLED_APPS = [
3535
# Third Party Packages
3636
'daphne',
37-
37+
'channels',
3838
'django.contrib.admin',
3939
'django.contrib.auth',
4040
'django.contrib.contenttypes',

0 commit comments

Comments
 (0)