├── TroVel ├── __init__.py ├── __pycache__ │ ├── urls.cpython-310.pyc │ ├── wsgi.cpython-310.pyc │ ├── __init__.cpython-310.pyc │ └── settings.cpython-310.pyc ├── asgi.py ├── wsgi.py ├── urls.py └── settings.py ├── TroVelApp ├── __init__.py ├── migrations │ └── __init__.py ├── models.py ├── admin.py ├── tests.py ├── __pycache__ │ ├── views.cpython-310.pyc │ └── __init__.cpython-310.pyc ├── apps.py └── views.py ├── db.sqlite3 ├── .github └── FUNDING.yml ├── static ├── photos │ ├── img1.jpeg │ ├── img2.jpg │ ├── img3.jpg │ ├── logo.jpg │ ├── maui.jpg │ ├── rome.jpg │ ├── grand.jpeg │ ├── manchu.jpeg │ └── logobackremoved.png └── files │ └── style.css ├── manage.py ├── README.md └── templates └── index.html /TroVel/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TroVelApp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TroVelApp/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/db.sqlite3 -------------------------------------------------------------------------------- /TroVelApp/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | # Create your models here. 4 | -------------------------------------------------------------------------------- /TroVelApp/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /TroVelApp/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [manju1392k] 4 | -------------------------------------------------------------------------------- /static/photos/img1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/img1.jpeg -------------------------------------------------------------------------------- /static/photos/img2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/img2.jpg -------------------------------------------------------------------------------- /static/photos/img3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/img3.jpg -------------------------------------------------------------------------------- /static/photos/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/logo.jpg -------------------------------------------------------------------------------- /static/photos/maui.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/maui.jpg -------------------------------------------------------------------------------- /static/photos/rome.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/rome.jpg -------------------------------------------------------------------------------- /static/photos/grand.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/grand.jpeg -------------------------------------------------------------------------------- /static/photos/manchu.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/manchu.jpeg -------------------------------------------------------------------------------- /static/photos/logobackremoved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/static/photos/logobackremoved.png -------------------------------------------------------------------------------- /TroVel/__pycache__/urls.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/TroVel/__pycache__/urls.cpython-310.pyc -------------------------------------------------------------------------------- /TroVel/__pycache__/wsgi.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/TroVel/__pycache__/wsgi.cpython-310.pyc -------------------------------------------------------------------------------- /TroVel/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/TroVel/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /TroVel/__pycache__/settings.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/TroVel/__pycache__/settings.cpython-310.pyc -------------------------------------------------------------------------------- /TroVelApp/__pycache__/views.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/TroVelApp/__pycache__/views.cpython-310.pyc -------------------------------------------------------------------------------- /TroVelApp/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Manju1392k/TroVel-Website/HEAD/TroVelApp/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /TroVelApp/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class TrovelappConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'TroVelApp' 7 | -------------------------------------------------------------------------------- /TroVelApp/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render 2 | 3 | # Create your views here. 4 | 5 | # creating home screen 6 | def Home(request): 7 | return render(request, 'index.html') 8 | -------------------------------------------------------------------------------- /static/files/style.css: -------------------------------------------------------------------------------- 1 | 2 | /* some addition css for silder size */ 3 | .bd-placeholder{ 4 | width:100vw; 5 | height:40rem; 6 | } 7 | 8 | /* mediaqueries */ 9 | @media screen and (max-width:1030px) { 10 | .bd-placeholder{ 11 | width:100vw; 12 | height:25vh; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /TroVel/asgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | ASGI config for TroVel project. 3 | 4 | It exposes the ASGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/4.0/howto/deployment/asgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.asgi import get_asgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'TroVel.settings') 15 | 16 | application = get_asgi_application() 17 | -------------------------------------------------------------------------------- /TroVel/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for TroVel project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/4.0/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'TroVel.settings') 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """Django's command-line utility for administrative tasks.""" 3 | import os 4 | import sys 5 | 6 | 7 | def main(): 8 | """Run administrative tasks.""" 9 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'TroVel.settings') 10 | try: 11 | from django.core.management import execute_from_command_line 12 | except ImportError as exc: 13 | raise ImportError( 14 | "Couldn't import Django. Are you sure it's installed and " 15 | "available on your PYTHONPATH environment variable? Did you " 16 | "forget to activate a virtual environment?" 17 | ) from exc 18 | execute_from_command_line(sys.argv) 19 | 20 | 21 | if __name__ == '__main__': 22 | main() 23 | -------------------------------------------------------------------------------- /TroVel/urls.py: -------------------------------------------------------------------------------- 1 | """TroVel URL Configuration 2 | 3 | The `urlpatterns` list routes URLs to views. For more information please see: 4 | https://docs.djangoproject.com/en/4.0/topics/http/urls/ 5 | Examples: 6 | Function views 7 | 1. Add an import: from my_app import views 8 | 2. Add a URL to urlpatterns: path('', views.home, name='home') 9 | Class-based views 10 | 1. Add an import: from other_app.views import Home 11 | 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') 12 | Including another URLconf 13 | 1. Import the include() function: from django.urls import include, path 14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 15 | """ 16 | from TroVelApp import views 17 | from django.contrib import admin 18 | from django.urls import path 19 | 20 | urlpatterns = [ 21 | path('admin/', admin.site.urls), 22 | path('',views.Home,name="HomeScreen"), 23 | ] 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ℹ️ TroVel 2 | 3 | The Trovel Website is made With Django and Boostrap 4 | 5 | The FrontEnd Part Work is Completed fully 6 | 7 | Trovel is a Simple Website.It Contains Information about Top Tourism Place's in the world 8 | 9 | --- 10 | 11 | # 👁️‍🗨️ Preview of Trovel Website 12 | 13 | https://user-images.githubusercontent.com/66934377/157220294-426ff7df-ae90-4d09-a2f8-6ca3b812398c.mp4 14 | 15 | --- 16 | 17 | # 📱 Preview of Trovel Website Response 18 | 19 | https://user-images.githubusercontent.com/66934377/157222574-61437893-2638-497b-8450-aa47de01dd29.mp4 20 | 21 | --- 22 | 23 | # 🗂️ Framework 24 | 25 | The Below Table framework's is used in this Project. To run this project. This Framework's has been installed in system with same Version or Lastes Version 26 | 27 | | Framework | Version | 28 | | ------------- | ------------- | 29 | | Python | 3.10.2 | 30 | | Django | 4.0.3 | 31 | | Bootstrap | 5.1.3 | 32 | 33 | --- 34 | 35 | # 👨‍💻 Command for Execute Project 36 | ```bash 37 | python manage.py runserver 38 | ``` 39 | 40 | --- 41 | 42 | # ⬇️ Code Downloading Process 43 | 44 | * You Can Download the code in **2 Methods** 45 | * Choose Any One Methode has your whish 46 | 47 | --- 48 | 49 | # Ⓜ️ Methode 1 50 | 51 | * **This Methode is Very Easy** 52 | 53 | * Now Click on __Code Option__ 54 | 55 | ![Screenshot (158)](https://user-images.githubusercontent.com/66934377/164152919-f2854829-535d-4227-9c2f-031f8051f6ac.png) 56 | 57 | * Now A Screen will Popup. Now Click **Download Zip** Option . Now the file has been started downloading 58 | 59 | ![Screenshot (159)](https://user-images.githubusercontent.com/66934377/164153128-b64e85a2-e40c-4457-9835-a749ac79acd6.png) 60 | 61 | --- 62 | 63 | # Ⓜ️ Methode 2 64 | 65 | * **This Methode is tittle bit Hard** 66 | 67 | * Now Open **cmd** in windows, **bash Terminal** in mac. Now Hit the Below Command's 68 | 69 | ```bash 70 | git clone https://github.com/Manju1392k/TroVel-Website.git 71 | ``` 72 | 73 | * The project cloned after this process 74 | 75 | -------------------------------------------------------------------------------- /TroVel/settings.py: -------------------------------------------------------------------------------- 1 | """ 2 | Django settings for TroVel project. 3 | 4 | Generated by 'django-admin startproject' using Django 4.0. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/4.0/topics/settings/ 8 | 9 | For the full list of settings and their values, see 10 | https://docs.djangoproject.com/en/4.0/ref/settings/ 11 | """ 12 | 13 | from pathlib import Path 14 | import os 15 | 16 | # Build paths inside the project like this: BASE_DIR / 'subdir'. 17 | BASE_DIR = Path(__file__).resolve().parent.parent 18 | 19 | 20 | # Quick-start development settings - unsuitable for production 21 | # See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/ 22 | 23 | # SECURITY WARNING: keep the secret key used in production secret! 24 | SECRET_KEY = 'django-insecure-k24o2mce!^*7-p5tm6c)^tl$a5!7k8!e=7dzx%g6&m*3l8+&m+' 25 | 26 | # SECURITY WARNING: don't run with debug turned on in production! 27 | DEBUG = True 28 | 29 | ALLOWED_HOSTS = [] 30 | 31 | 32 | # Application definition 33 | 34 | INSTALLED_APPS = [ 35 | 'django.contrib.admin', 36 | 'django.contrib.auth', 37 | 'django.contrib.contenttypes', 38 | 'django.contrib.sessions', 39 | 'django.contrib.messages', 40 | 'django.contrib.staticfiles', 41 | ] 42 | 43 | MIDDLEWARE = [ 44 | 'django.middleware.security.SecurityMiddleware', 45 | 'django.contrib.sessions.middleware.SessionMiddleware', 46 | 'django.middleware.common.CommonMiddleware', 47 | 'django.middleware.csrf.CsrfViewMiddleware', 48 | 'django.contrib.auth.middleware.AuthenticationMiddleware', 49 | 'django.contrib.messages.middleware.MessageMiddleware', 50 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', 51 | ] 52 | 53 | ROOT_URLCONF = 'TroVel.urls' 54 | 55 | TEMPLATES = [ 56 | { 57 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', 58 | 'DIRS': [os.path.join (BASE_DIR, 'templates')], 59 | 'APP_DIRS': True, 60 | 'OPTIONS': { 61 | 'context_processors': [ 62 | 'django.template.context_processors.debug', 63 | 'django.template.context_processors.request', 64 | 'django.contrib.auth.context_processors.auth', 65 | 'django.contrib.messages.context_processors.messages', 66 | ], 67 | }, 68 | }, 69 | ] 70 | 71 | WSGI_APPLICATION = 'TroVel.wsgi.application' 72 | 73 | 74 | # Database 75 | # https://docs.djangoproject.com/en/4.0/ref/settings/#databases 76 | 77 | DATABASES = { 78 | 'default': { 79 | 'ENGINE': 'django.db.backends.sqlite3', 80 | 'NAME': BASE_DIR / 'db.sqlite3', 81 | } 82 | } 83 | 84 | 85 | # Password validation 86 | # https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators 87 | 88 | AUTH_PASSWORD_VALIDATORS = [ 89 | { 90 | 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', 91 | }, 92 | { 93 | 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', 94 | }, 95 | { 96 | 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', 97 | }, 98 | { 99 | 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', 100 | }, 101 | ] 102 | 103 | 104 | # Internationalization 105 | # https://docs.djangoproject.com/en/4.0/topics/i18n/ 106 | 107 | LANGUAGE_CODE = 'en-us' 108 | 109 | TIME_ZONE = 'UTC' 110 | 111 | USE_I18N = True 112 | 113 | USE_TZ = True 114 | 115 | 116 | # Static files (CSS, JavaScript, Images) 117 | # https://docs.djangoproject.com/en/4.0/howto/static-files/ 118 | 119 | STATIC_URL = 'static/' 120 | 121 | # Default primary key field type 122 | # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field 123 | 124 | DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' 125 | 126 | # static folder path 127 | STATICFILES_DIRS = [ 128 | BASE_DIR / "static", 129 | ] -------------------------------------------------------------------------------- /templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | TroVel 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | {% comment %} navbar code {% endcomment %} 21 | 58 | 59 | {% comment %} silder {% endcomment %} 60 | 101 | 102 | {% comment %} infobar {% endcomment %} 103 |

Some Famou's Citie's

104 | 105 |
106 |
107 |
108 |

Located high in the Andes mountains of Peru, Machu Picchu is now believed to

109 |

have been a sacred royal retreat for the Incan rulers. Built in the 15th century AD and abandoned less than a 100 years later, the remote site continues to amaze with its perfectly joined, mortarless, intricate stonework. Huge multi-ton blocks of stone are perfectly joined with each other, without the use of mortar or cement. 110 | 111 | The journey to Machu Picchu typically starts in the mountain city of Cusco, which was the capital city of the Inca Empire. Cusco is a fascinating place to explore-be sure to spend a few days there before or after your Machu Picchu adventure.

112 |
113 |
114 | Placeholder 115 | 116 |
117 |
118 |
119 | 120 |
121 |
122 |
123 |

The Grand Canyon, Arizona

124 |

This incredible sight, one of the seven natural wonders of the world, is in the U.S. state of Arizona. It's one of those beautiful places for which photos or video just don't do it justice-its sheer size and scope is hard to comprehend. 125 | With geology formed over the past two billion years, yes billion, the 277 mile-long canyon itself is believed to have been started around five to six million years ago. It was formed by the flow of the Colorado River, which still flows through it and continues to erode the geology along its course. The Grand Canyon is up to 18 miles wide in places and up to a mile deep. Imagine standing on the edge, looking down a sheer rock wall almost a mile to the river below.

126 |
127 |
128 | Placeholder 129 | 130 |
131 |
132 |
133 | 134 |
135 |
136 |
137 |

The Eternal City

138 |

The Eternal City is more like a giant, living museum. Visitors are immersed in and surrounded by thousands of years of history. It's a relatively compact city, and a three-day itinerary gets you to the minimum number of must-see places. 139 | These must-see sites for any visitor include the Colosseum and adjacent Roman Forum; the Pantheon; and Vatican City, a separate country in the middle of central Rome. 140 | Take some time to explore the outskirts of Rome, too. Consider a hike along a tomb-lined section of the Appian Way, the ancient Roman superhighway, and a visit to one of the aqueduct ruins outside the city.

141 |
142 |
143 | Placeholder 144 | 145 |
146 |
147 |
148 | 149 |
150 |
151 |
152 |

The Maui, Hawaii

153 |

This Hawaiian island offers a wide range of experiences for visitors. You can surf, enjoy a meal on the beach at a five-star luxury resort in Wailea, ride a horse across a dormant volcano in Haleakala National Park, or hike through a rainforest in the West Maui Mountains. The natural scenery is amazing-it's truly one of the most beautiful islands in the world. 154 | When it comes to accommodation, there is something for everyone here, from rustic hippie bungalow bed and breakfasts to five-star luxury resort hotels. Wailea has all the luxury resorts-it's like the beachfront Beverly Hills of Maui. If you're staying here, be sure to venture out and spend some time in Kihei, where the locals hang out.

155 |
156 |
157 | Placeholder 158 | 159 |
160 |
161 |
162 | 163 | {% comment %} sigup {% endcomment %} 164 |
165 |
166 | 167 |

Please SignUp

168 | 169 |
170 | 171 |
172 | 173 | 174 |
175 |
176 | 177 | 178 |
179 | 180 |
181 | 182 | 183 |
184 | 185 |
186 | 189 |
190 | 191 | 192 |
193 | 194 |
195 |
196 | 197 | {% comment %} sigup {% endcomment %} 198 |
199 |
200 | 201 |

Login

202 | 203 |
204 | 205 |
206 | 207 | 208 |
209 |
210 | 211 | 212 |
213 | 214 |
215 | 218 |
219 | 220 | 221 |
222 | 223 |
224 |
225 | 226 | 227 | 228 | 229 | 230 | 234 | 235 | --------------------------------------------------------------------------------