Added WidgetUser models

parent a09ec87a
No preview for this file type
from django.contrib import admin
from .models import WidgetUser
# Register your models here.
class WidgetUserAdmin(admin.ModelAdmin):
model = WidgetUser
admin.site.register(WidgetUser, WidgetUserAdmin)
\ No newline at end of file
from django.db import models
# Create your models here.
class WidgetUser(models.Model):
first_name = models.CharField(max_length=50)
middle_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50)
\ No newline at end of file
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