projects
/
climbing.kerkeslager.com
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some admin and related name stuff for user profiles
[climbing.kerkeslager.com]
/
src
/
user_profile
/
admin.py
diff --git
a/src/user_profile/admin.py
b/src/user_profile/admin.py
index
8c38f3f
..
44bca6e
100644
(file)
--- a/
src/user_profile/admin.py
+++ b/
src/user_profile/admin.py
@@
-1,3
+1,7
@@
from django.contrib import admin
-# Register your models here.
+from . import models
+
+class UserProfileAdmin(admin.ModelAdmin):
+ pass
+admin.site.register(models.UserProfile, UserProfileAdmin)