Opened 43 hours ago

Closed 42 hours ago

#35847 closed Bug (invalid)

Syntax Error when execute command 'py manage.py startapp <app_name>'

Reported by: Vins0504 Owned by:
Component: Error reporting Version: 5.0
Severity: Normal Keywords: SyntaxError, manage.py, startapp
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello, excuse me, i try to build a web using django python at my office, but when i execute a command 'py manage.py startapp <app_name>', the result is error at file manage.py at line 17. Syntax Error : invalid syntax. Before i build at my office i have installed a django at my home pc, and it works properly, but why in my office pc, it showing the error. I have using [ythong 3.12.2 at my home pc, and at my office i using 3.12.5 and 3.13. all the environment variables i have add, and my venv have been activated, but still showing SyntaxError. Thanks for the help

Note : I using Windows 10 64bit, and at my office i using django 5.1.2

Change History (1)

comment:1 by Claude Paroz, 42 hours ago

Resolution: invalid
Status: newclosed

This is not the place to get support, the ticket tracker is for reporting bugs in Django. Please use support channels.

Note: See TracTickets for help on using tickets.
Back to Top