File tree Expand file tree Collapse file tree 16 files changed +38
-38
lines changed
02-WEB-APIs/First_API_Django/onlinestore/onlinestore
05-DRF-LEVEL-THREE/profilesapi/profilesapi Expand file tree Collapse file tree 16 files changed +38
-38
lines changed Original file line number Diff line number Diff line change 1
1
"""onlinestore URL Configuration
2
2
3
3
The `urlpatterns` list routes URLs to views. For more information please see:
4
- https://docs.djangoproject.com/en/2 .1/topics/http/urls/
4
+ https://docs.djangoproject.com/en/4 .1/topics/http/urls/
5
5
Examples:
6
6
Function views
7
7
1. Add an import: from my_app import views
Original file line number Diff line number Diff line change 4
4
It exposes the WSGI callable as a module-level variable named ``application``.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/howto/deployment/wsgi/
7
+ https://docs.djangoproject.com/en/4 .1/howto/deployment/wsgi/
8
8
"""
9
9
10
10
import os
Original file line number Diff line number Diff line change 1
1
"""job_board URL Configuration
2
2
3
3
The `urlpatterns` list routes URLs to views. For more information please see:
4
- https://docs.djangoproject.com/en/2 .1/topics/http/urls/
4
+ https://docs.djangoproject.com/en/4 .1/topics/http/urls/
5
5
Examples:
6
6
Function views
7
7
1. Add an import: from my_app import views
Original file line number Diff line number Diff line change 4
4
It exposes the WSGI callable as a module-level variable named ``application``.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/howto/deployment/wsgi/
7
+ https://docs.djangoproject.com/en/4 .1/howto/deployment/wsgi/
8
8
"""
9
9
10
10
import os
Original file line number Diff line number Diff line change 5
5
6
6
7
7
# Quick-start development settings - unsuitable for production
8
- # See https://docs.djangoproject.com/en/2 .1/howto/deployment/checklist/
8
+ # See https://docs.djangoproject.com/en/4 .1/howto/deployment/checklist/
9
9
10
10
# SECURITY WARNING: keep the secret key used in production secret!
11
11
SECRET_KEY = 'a!^#hmmv$9j20hfvi^wer*jd@ufcvb4m6h9%6l6m_l)4_g=c(&'
64
64
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
65
65
66
66
# Database
67
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#databases
67
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#databases
68
68
69
69
DATABASES = {
70
70
'default' : {
75
75
76
76
77
77
# Password validation
78
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#auth-password-validators
78
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#auth-password-validators
79
79
80
80
AUTH_PASSWORD_VALIDATORS = [
81
81
{
94
94
95
95
96
96
# Internationalization
97
- # https://docs.djangoproject.com/en/2 .1/topics/i18n/
97
+ # https://docs.djangoproject.com/en/4 .1/topics/i18n/
98
98
99
99
LANGUAGE_CODE = 'en-us'
100
100
108
108
109
109
110
110
# Static files (CSS, JavaScript, Images)
111
- # https://docs.djangoproject.com/en/2 .1/howto/static-files/
111
+ # https://docs.djangoproject.com/en/4 .1/howto/static-files/
112
112
113
113
STATIC_URL = '/static/'
Original file line number Diff line number Diff line change 1
1
"""newsapi URL Configuration
2
2
3
3
The `urlpatterns` list routes URLs to views. For more information please see:
4
- https://docs.djangoproject.com/en/2 .1/topics/http/urls/
4
+ https://docs.djangoproject.com/en/4 .1/topics/http/urls/
5
5
Examples:
6
6
Function views
7
7
1. Add an import: from my_app import views
Original file line number Diff line number Diff line change 4
4
It exposes the WSGI callable as a module-level variable named ``application``.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/howto/deployment/wsgi/
7
+ https://docs.djangoproject.com/en/4 .1/howto/deployment/wsgi/
8
8
"""
9
9
10
10
import os
Original file line number Diff line number Diff line change 4
4
Generated by 'django-admin startproject' using Django 2.1.7.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/topics/settings/
7
+ https://docs.djangoproject.com/en/4 .1/topics/settings/
8
8
9
9
For the full list of settings and their values, see
10
- https://docs.djangoproject.com/en/2 .1/ref/settings/
10
+ https://docs.djangoproject.com/en/4 .1/ref/settings/
11
11
"""
12
12
13
13
import os
17
17
18
18
19
19
# Quick-start development settings - unsuitable for production
20
- # See https://docs.djangoproject.com/en/2 .1/howto/deployment/checklist/
20
+ # See https://docs.djangoproject.com/en/4 .1/howto/deployment/checklist/
21
21
22
22
# SECURITY WARNING: keep the secret key used in production secret!
23
23
SECRET_KEY = '-f2(p4z&=)-te2p(k548d31y5*5z399-z(b05p*z!chniw!1_a'
75
75
76
76
77
77
# Database
78
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#databases
78
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#databases
79
79
80
80
DATABASES = {
81
81
'default' : {
86
86
87
87
88
88
# Password validation
89
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#auth-password-validators
89
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#auth-password-validators
90
90
91
91
AUTH_PASSWORD_VALIDATORS = [
92
92
{
105
105
106
106
107
107
# Internationalization
108
- # https://docs.djangoproject.com/en/2 .1/topics/i18n/
108
+ # https://docs.djangoproject.com/en/4 .1/topics/i18n/
109
109
110
110
LANGUAGE_CODE = 'en-us'
111
111
119
119
120
120
121
121
# Static files (CSS, JavaScript, Images)
122
- # https://docs.djangoproject.com/en/2 .1/howto/static-files/
122
+ # https://docs.djangoproject.com/en/4 .1/howto/static-files/
123
123
124
124
STATIC_URL = '/static/'
125
125
Original file line number Diff line number Diff line change 1
1
"""ebooksapi URL Configuration
2
2
3
3
The `urlpatterns` list routes URLs to views. For more information please see:
4
- https://docs.djangoproject.com/en/2 .1/topics/http/urls/
4
+ https://docs.djangoproject.com/en/4 .1/topics/http/urls/
5
5
Examples:
6
6
Function views
7
7
1. Add an import: from my_app import views
Original file line number Diff line number Diff line change 4
4
It exposes the WSGI callable as a module-level variable named ``application``.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/howto/deployment/wsgi/
7
+ https://docs.djangoproject.com/en/4 .1/howto/deployment/wsgi/
8
8
"""
9
9
10
10
import os
Original file line number Diff line number Diff line change 4
4
Generated by 'django-admin startproject' using Django 2.1.7.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/topics/settings/
7
+ https://docs.djangoproject.com/en/4 .1/topics/settings/
8
8
9
9
For the full list of settings and their values, see
10
- https://docs.djangoproject.com/en/2 .1/ref/settings/
10
+ https://docs.djangoproject.com/en/4 .1/ref/settings/
11
11
"""
12
12
13
13
import os
17
17
18
18
19
19
# Quick-start development settings - unsuitable for production
20
- # See https://docs.djangoproject.com/en/2 .1/howto/deployment/checklist/
20
+ # See https://docs.djangoproject.com/en/4 .1/howto/deployment/checklist/
21
21
22
22
# SECURITY WARNING: keep the secret key used in production secret!
23
23
SECRET_KEY = 'jh012i-1rehi+vsmgbzc5kant^-6(sk_!n+a5lj(_k3@g2@)*!'
75
75
76
76
77
77
# Database
78
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#databases
78
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#databases
79
79
80
80
DATABASES = {
81
81
'default' : {
86
86
87
87
88
88
# Password validation
89
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#auth-password-validators
89
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#auth-password-validators
90
90
91
91
AUTH_PASSWORD_VALIDATORS = [
92
92
{
105
105
106
106
107
107
# Internationalization
108
- # https://docs.djangoproject.com/en/2 .1/topics/i18n/
108
+ # https://docs.djangoproject.com/en/4 .1/topics/i18n/
109
109
110
110
LANGUAGE_CODE = 'en-us'
111
111
119
119
120
120
121
121
# Static files (CSS, JavaScript, Images)
122
- # https://docs.djangoproject.com/en/2 .1/howto/static-files/
122
+ # https://docs.djangoproject.com/en/4 .1/howto/static-files/
123
123
124
124
STATIC_URL = '/static/'
125
125
Original file line number Diff line number Diff line change 1
1
"""quotesapi URL Configuration
2
2
3
3
The `urlpatterns` list routes URLs to views. For more information please see:
4
- https://docs.djangoproject.com/en/2 .1/topics/http/urls/
4
+ https://docs.djangoproject.com/en/4 .1/topics/http/urls/
5
5
Examples:
6
6
Function views
7
7
1. Add an import: from my_app import views
Original file line number Diff line number Diff line change 4
4
It exposes the WSGI callable as a module-level variable named ``application``.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/howto/deployment/wsgi/
7
+ https://docs.djangoproject.com/en/4 .1/howto/deployment/wsgi/
8
8
"""
9
9
10
10
import os
Original file line number Diff line number Diff line change 4
4
Generated by 'django-admin startproject' using Django 2.1.7.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/topics/settings/
7
+ https://docs.djangoproject.com/en/4 .1/topics/settings/
8
8
9
9
For the full list of settings and their values, see
10
- https://docs.djangoproject.com/en/2 .1/ref/settings/
10
+ https://docs.djangoproject.com/en/4 .1/ref/settings/
11
11
"""
12
12
13
13
import os
17
17
18
18
19
19
# Quick-start development settings - unsuitable for production
20
- # See https://docs.djangoproject.com/en/2 .1/howto/deployment/checklist/
20
+ # See https://docs.djangoproject.com/en/4 .1/howto/deployment/checklist/
21
21
22
22
# SECURITY WARNING: keep the secret key used in production secret!
23
23
SECRET_KEY = 'rz+ehi(9^91x1vqmv40o+)&6pcci)0_#!$^7t604na17%q*8js'
84
84
85
85
86
86
# Database
87
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#databases
87
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#databases
88
88
89
89
DATABASES = {
90
90
'default' : {
95
95
96
96
97
97
# Password validation
98
- # https://docs.djangoproject.com/en/2 .1/ref/settings/#auth-password-validators
98
+ # https://docs.djangoproject.com/en/4 .1/ref/settings/#auth-password-validators
99
99
100
100
AUTH_PASSWORD_VALIDATORS = [
101
101
{
114
114
115
115
116
116
# Internationalization
117
- # https://docs.djangoproject.com/en/2 .1/topics/i18n/
117
+ # https://docs.djangoproject.com/en/4 .1/topics/i18n/
118
118
119
119
LANGUAGE_CODE = 'en-us'
120
120
128
128
129
129
130
130
# Static files (CSS, JavaScript, Images)
131
- # https://docs.djangoproject.com/en/2 .1/howto/static-files/
131
+ # https://docs.djangoproject.com/en/4 .1/howto/static-files/
132
132
133
133
STATIC_URL = '/static/'
134
134
Original file line number Diff line number Diff line change 1
1
"""profilesapi URL Configuration
2
2
3
3
The `urlpatterns` list routes URLs to views. For more information please see:
4
- https://docs.djangoproject.com/en/2 .1/topics/http/urls/
4
+ https://docs.djangoproject.com/en/4 .1/topics/http/urls/
5
5
Examples:
6
6
Function views
7
7
1. Add an import: from my_app import views
Original file line number Diff line number Diff line change 4
4
It exposes the WSGI callable as a module-level variable named ``application``.
5
5
6
6
For more information on this file, see
7
- https://docs.djangoproject.com/en/2 .1/howto/deployment/wsgi/
7
+ https://docs.djangoproject.com/en/4 .1/howto/deployment/wsgi/
8
8
"""
9
9
10
10
import os
You can’t perform that action at this time.
0 commit comments