This website works better with JavaScript.
Home
Explore
Help
Sign In
apalak
/
django_rest_framework
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Created api project
master
Apalak Dutta
1 year ago
parent
5566f6a4c1
commit
eb7667f4f5
8 changed files
with
19 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-0
backend/api/__init__.py
+3
-0
backend/api/admin.py
+6
-0
backend/api/apps.py
+0
-0
backend/api/migrations/__init__.py
+3
-0
backend/api/models.py
+3
-0
backend/api/tests.py
+3
-0
backend/api/views.py
+1
-0
backend/cfehome/settings.py
+ 0
- 0
backend/api/__init__.py
View File
+ 3
- 0
backend/api/admin.py
View File
@ -0,0 +1,3 @@
from
django.contrib
import
admin
# Register your models here.
+ 6
- 0
backend/api/apps.py
View File
@ -0,0 +1,6 @@
from
django.apps
import
AppConfig
class
ApiConfig
(
AppConfig
)
:
default_auto_field
=
'
django.db.models.BigAutoField
'
name
=
'
api
'
+ 0
- 0
backend/api/migrations/__init__.py
View File
+ 3
- 0
backend/api/models.py
View File
@ -0,0 +1,3 @@
from
django.db
import
models
# Create your models here.
+ 3
- 0
backend/api/tests.py
View File
@ -0,0 +1,3 @@
from
django.test
import
TestCase
# Create your tests here.
+ 3
- 0
backend/api/views.py
View File
@ -0,0 +1,3 @@
from
django.shortcuts
import
render
# Create your views here.
+ 1
- 0
backend/cfehome/settings.py
View File
@ -37,6 +37,7 @@ INSTALLED_APPS = [
'
django.contrib.sessions
'
,
'
django.contrib.messages
'
,
'
django.contrib.staticfiles
'
,
'
api
'
,
]
MIDDLEWARE
=
[
Write
Preview
Loading…
Cancel
Save