Commit a0bd6c79 authored by John Tamano's avatar John Tamano

Added homepage models + data in branch

parent 72966f06
from tkinter import Widget
from django.contrib import admin
from .models import WidgetUser
class WidgetUserAdmin(admin.ModelAdmin):
model = WidgetUser
# Register your models here.
admin.site.register(WidgetUser, WidgetUserAdmin)
# Generated by Django 4.0.3 on 2022-03-17 03:02
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='WidgetUser',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('first_name', models.CharField(max_length=75)),
('middle_name', models.CharField(max_length=75)),
('last_name', models.CharField(max_length=75)),
],
),
]
from pyexpat import model
from django.db import models
# Create your models here.
class WidgetUser(models.Model):
first_name = models.CharField(max_length=75)
middle_name = models.CharField(max_length=75)
last_name = models.CharField(max_length=75)
# Create your models here.
\ 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