FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit eb31c030 authored by Mike Bamford's avatar Mike Bamford
Browse files

Added string representation to UserProfile.

parent 8bd3db83
No related branches found
No related tags found
No related merge requests found
django-ucamwebauth changelog
=============================
1.4.4 - 02/08/2017
------------------
- Added string representation to UserProfile.
1.4.3 - 14/07/2017
------------------
......
Name: django-ucamwebauth
Version: 1.4.2
Version: 1.4.4
Release: 1
Summary: University of Cambridge Web Authentication module for Django
Source: %{name}-%{version}.tar.gz
......
......@@ -10,7 +10,7 @@ setup(
url='https://git.csx.cam.ac.uk/x/ucs/raven/django-ucamwebauth.git',
# When changing this version number, remember to update
# django-ucamwebauth.spec and debian/changelog.
version='1.4.3',
version='1.4.4',
license='MIT',
author='Information Systems Group, University Information Services, University of Cambridge',
author_email='raven-support@cam.ac.uk',
......
......@@ -12,3 +12,6 @@ class UserProfile(models.Model):
"""
user = models.OneToOneField(User, on_delete=models.CASCADE, related_name="profile")
raven_for_life = models.BooleanField(default=False)
def __str__(self):
return str(self.user)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment