Wikipedia search app Project using Django
Django is a high-level Python based Web Framework that allows rapid development and clean, pragmatic design. It is also called batteries included framework because Django provides built-in features for everything including Django Admin Interface, default database – SQLlite3, etc. Today we will create joke app in django.
In this article we will make the wikipedia search app using django. For searching on wikipedia we will use “wikipedia” library in python.
Creating Django Project –
First we have to install django
pip install django
Then install wikipedia library
pip install wikipedia
Lets create new django project
django-admin startproject wikipedia_app
Then create new app in django project
python3 manage.py startapp main
Then add app name inside the settings.py inside INSTALLED_APPS
Create new directory templates inside that create new directory main
Inside that create new file index.html
Create new file urls.py inside the main app
To run this app open cmd or terminal
python3 manage.py runserver
Please Login to comment...