[Django] #35847: Syntax Error when execute command 'py manage.py startapp <app_name>'

9 views
Skip to first unread message

Django

unread,
Oct 16, 2024, 11:15:53 AM10/16/24
to django-...@googlegroups.com
#35847: Syntax Error when execute command 'py manage.py startapp <app_name>'
-------------------------------------+-------------------------------------
Reporter: Vins0504 | Type: Bug
Status: new | Component: Error
| reporting
Version: 5.0 | Severity: Normal
Keywords: SyntaxError, | Triage Stage:
manage.py, startapp | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
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
--
Ticket URL: <https://code.djangoproject.com/ticket/35847>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 16, 2024, 12:17:07 PM10/16/24
to django-...@googlegroups.com
#35847: Syntax Error when execute command 'py manage.py startapp <app_name>'
-------------------------------------+-------------------------------------
Reporter: Vins0504 | Owner: (none)
Type: Bug | Status: closed
Component: Error reporting | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: SyntaxError, | Triage Stage:
manage.py, startapp | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* resolution: => invalid
* status: new => closed

Comment:

This is not the place to get support, the ticket tracker is for reporting
bugs in Django. Please use [wiki:TicketClosingReasons/UseSupportChannels
support channels].
--
Ticket URL: <https://code.djangoproject.com/ticket/35847#comment:1>

Django

unread,
Oct 22, 2024, 11:04:01 PM10/22/24
to django-...@googlegroups.com
#35847: Syntax Error when execute command 'py manage.py startapp <app_name>'
-------------------------------------+-------------------------------------
Reporter: Vins0504 | Owner: (none)
Type: Bug | Status: closed
Component: Error reporting | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: SyntaxError, | Triage Stage:
manage.py, startapp | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Vins0504):

Replying to [comment:1 Claude Paroz]:
> This is not the place to get support, the ticket tracker is for
reporting bugs in Django. Please use
[wiki:TicketClosingReasons/UseSupportChannels support channels].
I'm new comer to Django, thank you for your comment.
--
Ticket URL: <https://code.djangoproject.com/ticket/35847#comment:2>
Reply all
Reply to author
Forward
0 new messages