Commit 68ddb115 authored by David Haynes's avatar David Haynes
Browse files

username is a onetoonefield

- not done, only so I can get back to master to fix spacing :/
parent 6d1f7a45
...@@ -59,10 +59,10 @@ class RegisteredUser(models.Model): ...@@ -59,10 +59,10 @@ class RegisteredUser(models.Model):
that that user is registered. that that user is registered.
""" """
username = models.CharField( username = models.OneToOneField(
blank=False, User,
max_length=30, on_delete=models.CASCADE,
primary_key=True primary_key=True,
) )
full_name = models.CharField( full_name = models.CharField(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment