Opened 5 years ago

Closed 5 years ago

#26025 closed Uncategorized (invalid)

manage.py syncdb command isn't working

Reported by: David Owned by: David
Component: Uncategorized Version: 1.9
Severity: Normal Keywords: manage.py, syncdb, cmd
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

when i type "manage.py syncdb" in my cmd, it opens manage.py file in my text editor instead of creating tables for my models.... how can i fix that.... ? thanks... (am a beginner in python and django programming...)

Change History (4)

comment:1 Changed 5 years ago by David

Owner: changed from nobody to David
Status: newassigned

comment:2 in reply to:  description Changed 5 years ago by Sutrisno Efendi

Replying to davidmukiibi:

when i type "manage.py syncdb" in my cmd, it opens manage.py file in my text editor instead of creating tables for my models.... how can i fix that.... ? thanks... (am a beginner in python and django programming...)

manage.py syncdb is deprecated, try to use manage.py migrate

comment:3 Changed 5 years ago by David

i've tried that and its still doing the same....

comment:4 Changed 5 years ago by Tim Graham

Resolution: invalid
Status: assignedclosed

Please see TicketClosingReasons/UseSupportChannels for ways to get help. Thanks!

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