Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
farhapartex committed Oct 24, 2019
1 parent 2bd9a17 commit 6a9461c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 34 deletions.
29 changes: 0 additions & 29 deletions server/media_browser/migrations/0001_initial.py

This file was deleted.

7 changes: 3 additions & 4 deletions server/templates/cms_admin/user/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ <h3 class="card-title">Profile Information</h3>

<hr>

<strong><i class="fas fa-map-marker-alt mr-1"></i> Location</strong>
<!-- <strong><i class="fas fa-map-marker-alt mr-1"></i> Location</strong>
<p class="edit-text">Malibu, California</p>
<hr>
<hr> -->

<strong><i class="fas fa-pencil-alt mr-1"></i> Skills</strong>

Expand Down Expand Up @@ -293,8 +293,7 @@ <h4>Social Medias</h4>
</div>
<div class="row mb-2">
<div class="col-sm-10">
<label for="inputName" class="col-sm-12 control-label">About <span
class="text-danger">*</span></label>
<label for="inputName" class="col-sm-12 control-label">About</label>
{{ profile_form.about }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion server/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Profile(models.Model):
null=True,
)
bio = models.CharField(_("Bio"), max_length=150, blank=True, null=True)
about = models.TextField(_("About"))
about = models.TextField(_("About"),blank=True, null=True)
mobile = models.CharField(_("Mobile"), max_length=15, blank=True, null=True)
user_role = models.ForeignKey(
UserRole,
Expand Down

0 comments on commit 6a9461c

Please sign in to comment.