https://pantsbuild.org/ logo
#general
Title
# general
a

adventurous-tiger-49478

03/06/2023, 6:45 AM
Copy code
./pants run app/database_service/manage.py                                      ─╯
09:41:12.72 [INFO] Completed: Building database_service.pex with 1 requirement: Django==4.1.7

Type 'manage.py help <subcommand>' for help on a specific subcommand.

Available subcommands:

[django]
    check
    compilemessages
    createcachetable
    dbshell
    diffsettings
    dumpdata
    flush
    inspectdb
    loaddata
    makemessages
    makemigrations
    migrate
    optimizemigration
    runserver
    sendtestemail
    shell
    showmigrations
    sqlflush
    sqlmigrate
    sqlsequencereset
    squashmigrations
    startapp
    startproject
    test
    testserver
Note that only Django core commands are listed as settings are not properly configured (error: No module named 'database_service').
e

enough-analyst-54434

03/06/2023, 6:53 AM
@adventurous-tiger-49478 you really need to start asking questions instead of just dumping output with no further context. This is becoming a pattern: https://pantsbuild.slack.com/archives/C046T6T9U/p1677946791320349?thread_ts=1677946791.320349&amp;cid=C046T6T9U
a

adventurous-tiger-49478

03/06/2023, 6:54 AM
I am sorry for that... I am not so good at using slack
I am having trouble with running Django projects in pants.
e

enough-analyst-54434

03/06/2023, 7:00 AM
Yeah, that much is clear. To get help though folks who know Django will probably need a lot more details about your project. Ideally you could provide an open source example. Remote (blind) support is hard. Async support across time zones doubly so; so the more detailed info the better chance you get a useful response.
a

adventurous-tiger-49478

03/06/2023, 7:01 AM
Ok. thanks
5 Views