Meet Django 💖
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus
on writing your app without needing to reinvent the wheel. It’s free and open sourcePython is lovable by everyone.So django is the best choice for learning a new framework.And it is very easy to use.
Ready To Go 😀
-------------------------------------------------------------------------------------------------------------------------------
1) First have to create virtual environment ,By pip install virtualenv
Here pip is a de facto standard package-management system used to install and manage software packages written in Python.
In Bash terminal or cmd or powershell -
$ virtualenv .
$ source bin/activate
currently django version is 3.0.6
👊 confirmation.........................
make a src folder for input all file there .
start-project
$ django-admin.py startproject project_name .
N:B- (.) dot means current directory .
Make migrations
--------------------------------
we will talk about migrations in future
make sure by $ls command mange.py file in this folder
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser
Done✌
$ python manage.py runserver
If you have any problem fell free to email me -
sium.hossain@yahoo.com
Comments
Post a Comment