Compare commits
No commits in common. "3008654dc122a426f849561a1cac5329bcbdf99e" and "ce442f9d349581e69015016a31782b8e6ea8d405" have entirely different histories.
3008654dc1
...
ce442f9d34
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ListmediaConfig(AppConfig):
|
||||
name = 'listmedia'
|
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
|
@ -0,0 +1,6 @@
|
|||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name="index"),
|
||||
]
|
|
@ -0,0 +1,4 @@
|
|||
from django.http import HttpResponse
|
||||
|
||||
def index(request):
|
||||
return HttpResponse("Hello ur at your media page")
|
|
@ -1,7 +1,7 @@
|
|||
import unittest
|
||||
from django.test import TestCase
|
||||
|
||||
Class AddMediaTests(TestCase):
|
||||
Class AddMediaTests(unittest.TestCase):
|
||||
def test_add_movie(self):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue