Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
68ddb115
Commit
68ddb115
authored
Apr 30, 2016
by
David Haynes
Browse files
username is a onetoonefield
- not done, only so I can get back to master to fix spacing :/
parent
6d1f7a45
Changes
1
Show whitespace changes
Inline
Side-by-side
go/go/models.py
View file @
68ddb115
...
@@ -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
.
Char
Field
(
username
=
models
.
OneToOne
Field
(
blank
=
Fal
se
,
U
se
r
,
max_length
=
30
,
on_delete
=
models
.
CASCADE
,
primary_key
=
True
primary_key
=
True
,
)
)
full_name
=
models
.
CharField
(
full_name
=
models
.
CharField
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment