Skip to content

Commit

Permalink
removing is_certifier from people profile
Browse files Browse the repository at this point in the history
  • Loading branch information
waybarrios committed Oct 24, 2017
1 parent e777eee commit 27f1a73
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
18 changes: 18 additions & 0 deletions geonode/people/migrations/0026_remove_profile_is_certifier.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('people', '0025_auto_20170924_0932'),
]

operations = [
migrations.RemoveField(
model_name='profile',
name='is_certifier',
),
]
5 changes: 0 additions & 5 deletions geonode/people/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ class Profile(AbstractUser):
keywords = TaggableManager(_('keywords'), blank=True, help_text=_(
'commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject \
(space or comma-separated'))
is_certifier = models.BooleanField(_('Allowed to certify maps & layers'),
blank=False,
null=False,
default=False)

def get_absolute_url(self):
return reverse('profile_detail', args=[self.username, ])

Expand Down

0 comments on commit 27f1a73

Please sign in to comment.