Sfoglia il codice sorgente

Updating admin.py: registering user model

David Leonard 10 anni fa
parent
commit
ca6eafe67d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      hackathon_starter/hackathon/admin.py

+ 2 - 0
hackathon_starter/hackathon/admin.py

@@ -1,3 +1,5 @@
 from django.contrib import admin
+from hackathon.models import UserProfile
 
 # Register your models here.
+admin.site.register(UserProfile)