first commit

This commit is contained in:
2024-12-10 10:32:13 -03:00
commit 78a4cb3c37
6881 changed files with 843683 additions and 0 deletions

View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class ClientsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'clients'

View File

@@ -0,0 +1,23 @@
# Generated by Django 5.1.4 on 2024-12-10 00:52
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Client',
fields=[
('id', models.AutoField(primary_key=True, serialize=False)),
('name', models.CharField(max_length=255)),
('active', models.BooleanField(default=True)),
('contact', models.CharField(blank=True, max_length=255, null=True)),
],
),
]

View File

@@ -0,0 +1,8 @@
from django.db import models
# Create your models here.
class Client(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=255)
active = models.BooleanField(default=True)
contact = models.CharField(max_length=255, null=True, blank=True)

View File

@@ -0,0 +1,12 @@
{% extends "base.html" %}
{% block 'title' %}
Type Pay
{% endblock %}
{% block 'body' %}
Body Type Pay
{% endblock %}

View File

@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

View File

@@ -0,0 +1,10 @@
from django.urls import path, include
from . import views
urlpatterns = [
path('', views.clients, name='clients'),
]

View File

@@ -0,0 +1,6 @@
from django.shortcuts import render
# Create your views here.
def clients(request):
return render(request, 'clients.html')