created app to create and handle short urls

pull/1/head
Calum Andrew Morrell 2025-11-06 11:03:33 +00:00
parent bbf90e7c3b
commit 5332a180a1
7 changed files with 18 additions and 0 deletions

0
shorturls/__init__.py Normal file
View File

3
shorturls/admin.py Normal file
View File

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

6
shorturls/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class ShorturlsConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "shorturls"

View File

3
shorturls/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
shorturls/tests.py Normal file
View File

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

3
shorturls/views.py Normal file
View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.