initial commit
This commit is contained in:
0
listmedia/__init__.py
Normal file
0
listmedia/__init__.py
Normal file
BIN
listmedia/__pycache__/__init__.cpython-37.pyc
Normal file
BIN
listmedia/__pycache__/__init__.cpython-37.pyc
Normal file
Binary file not shown.
BIN
listmedia/__pycache__/urls.cpython-37.pyc
Normal file
BIN
listmedia/__pycache__/urls.cpython-37.pyc
Normal file
Binary file not shown.
BIN
listmedia/__pycache__/views.cpython-37.pyc
Normal file
BIN
listmedia/__pycache__/views.cpython-37.pyc
Normal file
Binary file not shown.
3
listmedia/admin.py
Normal file
3
listmedia/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
5
listmedia/apps.py
Normal file
5
listmedia/apps.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ListmediaConfig(AppConfig):
|
||||
name = 'listmedia'
|
0
listmedia/migrations/__init__.py
Normal file
0
listmedia/migrations/__init__.py
Normal file
3
listmedia/models.py
Normal file
3
listmedia/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
listmedia/tests.py
Normal file
3
listmedia/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
6
listmedia/urls.py
Normal file
6
listmedia/urls.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name="index"),
|
||||
]
|
4
listmedia/views.py
Normal file
4
listmedia/views.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from django.http import HttpResponse
|
||||
|
||||
def index(request):
|
||||
return HttpResponse("Hello ur at your media page")
|
Reference in New Issue
Block a user