OKĪpplying auth.0011_update_proxy_permissions. OKĪpplying auth.0010_alter_group_name_max_length. OKĪpplying auth.0009_alter_user_last_name_max_length. OKĪpplying auth.0008_alter_user_username_max_length. OKĪpplying auth.0007_alter_validators_add_error_messages. OKĪpplying auth.0006_require_contenttypes_0002. OKĪpplying auth.0005_alter_user_last_login_null. OKĪpplying auth.0004_alter_user_username_opts. OKĪpplying auth.0003_alter_user_email_max_length. ![]() OKĪpplying auth.0002_alter_permission_name_max_length. OKĪpplying contenttypes.0002_remove_content_type_name. OKĪpplying admin.0003_logentry_add_action_flag_choices. Then, create a virtual environment using the virtualenv package:Īpply all migrations: admin, auth, authtoken, contenttypes, sessionsĪpplying admin.0002_logentry_remove_auto_add. Navigate to your home directory on the terminal. If you are running an Ubuntu machine, you may want to read How to Set Up a Python Virtual Environment on Ubuntu 20.04. You can check How to set up virtual environments for Python on a Mac if you run macOS. If you use a Windows machine, you can learn how to set up virtualenv on Windows in this article, Setting up a Virtual Environment for your Django Project. So, we can have distinct versions of Python, pip, and other modules for the current project. A virtual environment will isolate the current project from other projects on our machine. We shall start off by setting up a virtual environment and installing the dependencies for our application. Step 1 - Creating Virtual Environment and Setting up Dependencies
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |