Initial commit
This commit is contained in:
0
employees/__init__.py
Normal file
0
employees/__init__.py
Normal file
BIN
employees/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
employees/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
BIN
employees/__pycache__/admin.cpython-310.pyc
Normal file
BIN
employees/__pycache__/admin.cpython-310.pyc
Normal file
Binary file not shown.
BIN
employees/__pycache__/apps.cpython-310.pyc
Normal file
BIN
employees/__pycache__/apps.cpython-310.pyc
Normal file
Binary file not shown.
BIN
employees/__pycache__/models.cpython-310.pyc
Normal file
BIN
employees/__pycache__/models.cpython-310.pyc
Normal file
Binary file not shown.
BIN
employees/__pycache__/urls.cpython-310.pyc
Normal file
BIN
employees/__pycache__/urls.cpython-310.pyc
Normal file
Binary file not shown.
BIN
employees/__pycache__/views.cpython-310.pyc
Normal file
BIN
employees/__pycache__/views.cpython-310.pyc
Normal file
Binary file not shown.
3
employees/admin.py
Normal file
3
employees/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
employees/apps.py
Normal file
6
employees/apps.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class EmployeesConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'employees'
|
||||
0
employees/migrations/__init__.py
Normal file
0
employees/migrations/__init__.py
Normal file
BIN
employees/migrations/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
employees/migrations/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
3
employees/models.py
Normal file
3
employees/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
employees/tests.py
Normal file
3
employees/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
6
employees/urls.py
Normal file
6
employees/urls.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name='employees'),
|
||||
]
|
||||
7
employees/views.py
Normal file
7
employees/views.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
from django.http import HttpResponse
|
||||
|
||||
def index(request):
|
||||
return HttpResponse("Employees")
|
||||
Reference in New Issue
Block a user