File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 28
28
# SECURITY WARNING: don't run with debug turned on in production!
29
29
DEBUG = True
30
30
31
- ALLOWED_HOSTS = []
32
- CSRF_TRUSTED_ORIGINS = []
31
+ ALLOWED_HOSTS = [
32
+ 'localhost' , 'https://jolaya32-8000.theianext-1-labs-prod-misc-tools-us-east-0.proxy.cognitiveclass.ai/'
33
+ ]
34
+ CSRF_TRUSTED_ORIGINS = ['https://jolaya32-8000.theianext-1-labs-prod-misc-tools-us-east-0.proxy.cognitiveclass.ai/' ]
33
35
34
36
REST_FRAMEWORK = {
35
37
'DEFAULT_AUTHENTICATION_CLASSES' : [],
61
63
TEMPLATES = [
62
64
{
63
65
'BACKEND' : 'django.template.backends.django.DjangoTemplates' ,
64
- 'DIRS' : [],
66
+ 'DIRS' : [
67
+ os .path .join (BASE_DIR ,'frontend/static' )
68
+ ],
65
69
'APP_DIRS' : True ,
66
70
'OPTIONS' : {
67
71
'context_processors' : [
134
138
135
139
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
136
140
137
- STATICFILES_DIRS = []
141
+ STATICFILES_DIRS = [
142
+ os .path .join (BASE_DIR ,'frontend/static' )
143
+ ]
138
144
Original file line number Diff line number Diff line change 1
1
< html >
2
2
< head >
3
3
<!-- Link the style sheet here -->
4
+ < link rel ="stylesheet " href ="/static/style.css ">
5
+ < link rel ="stylesheet " href ="/static/bootstrap.min.css ">
4
6
</ head >
5
- < div >
7
+ < div className ="about-header ">
8
+ < h1 > About Us</ h1 >
9
+ Welcome to Best Cars dealership, home to the best cars in North America. We deal in sale of domestic and imported cars at reasonable prices.
6
10
< nav class ="navbar navbar-expand-lg navbar-light " style ="background-color:darkturquoise; height: 1in; ">
7
11
< div class ="container-fluid ">
8
12
< h2 style ="padding-right: 5%; "> Dealerships</ h2 >
You can’t perform that action at this time.
0 commit comments