~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlprofile/models.py

  • Committer: franku
  • Date: 2018-09-19 18:30:17 UTC
  • mfrom: (497.2.17 delete_user)
  • Revision ID: somal@arcor.de-20180919183017-0mhtkxmycgn3b4lz
make it possible for a user to delete himself, anonymize his data

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                                upload_to='wlprofile/avatars/', width=settings.AVATAR_WIDTH, height=settings.AVATAR_HEIGHT)
49
49
    show_signatures = models.BooleanField(
50
50
        _('Show signatures'), blank=True, default=True)
 
51
    deleted = models.BooleanField(default=False)
51
52
 
52
53
    class Meta:
53
54
        verbose_name = _('Profile')