Commit 2625c788 authored by Brian Guadalupe's avatar Brian Guadalupe

Create app `tag`

parent e02d509f
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class TagConfig(AppConfig):
name = 'tag'
from django.db import models
from playlist.models import *
class Tag(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=32)
tag = models.ManyToManyField(MusicEntry)
def __str__(self):
return self.name
\ No newline at end of file
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
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