Issue in executing Django Server using python manage.py runserver

The following are the steps that I followed on my windows machine.

pls let me know what the issue could be.

And help me run my django server.

Thanks a lot, Bhaskar Gundu

PS C:\Windows\system32> .\MyVEnv2\Scripts\activate

(MyVEnv2) PS C:\Windows\system32> django-admin startproject puddle
django-admin : CommandError: 'C:\Windows\system32\puddle' already exists
At line:1 char:1
+ django-admin startproject puddle
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (CommandError: '... already exists:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 

(MyVEnv2) PS C:\Windows\system32> cd puddle

(MyVEnv2) PS C:\Windows\system32\puddle> ls


    Directory: C:\Windows\system32\puddle


Mode                 LastWriteTime         Length Name                                                                                                                                                      
----                 -------------         ------ ----                                                                                                                                                      
d-----        10/17/2024   4:26 PM                puddle                                                                                                                                                    
-a----        10/17/2024   4:27 PM         131072 db.sqlite3                                                                                                                                                
-a----        10/17/2024   4:26 PM            684 manage.py                                                                                                                                                 



(MyVEnv2) PS C:\Windows\system32\puddle> python  manage.py makemigrations
No changes detected

(MyVEnv2) PS C:\Windows\system32\puddle> python manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
  No migrations to apply.

(MyVEnv2) PS C:\Windows\system32\puddle> python manage.py runserver
python : Watching for file changes with StatReloader
At line:1 char:1
+ python manage.py runserver
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Watching for fi...th StatReloader:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

I tried executing following the required steps and am expecting to have a successful running of my Django Server.

Вернуться на верх