question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to collect static file for all schema at once?

See original GitHub issue

I want to collectstatic file for all schema at once, follow the doc said

The command to collect the static files for all tenants is collectstatic_schemas. The optional --schema argument can be used to only collect files for a single tenant.

But when I run collectstatic_schemas without --schema, it asks me to put schema, it never works with automated deploy

Do you have any suggestions?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hanckmanncommented, Apr 20, 2021

I did not manage to sort this problem. I think we should reopen this ticket.

The first comment describes the issue correctly.

0reactions
tomturnercommented, Apr 19, 2021

Did you sort the problem out if not please reopen ticket

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is manage.py collectstatic needed on each edit of static file?
You can simply use the files from your "static" folder that you define at the app level. STATICFILES_DIRS is used only when you...
Read more >
How to manage static files (e.g. images, JavaScript, CSS)
Django provides django.contrib.staticfiles to help you manage them. ... the built-in one that has the ability to transparently serve all the assets during ......
Read more >
Tenant-aware file handling — django_tenants dev ...
The command to collect the static files for all tenants is collectstatic_schemas . The optional --schema argument can be used to only collect...
Read more >
Using the Schema Discovery Feature on Static Data
The schema discovery feature can generate a schema from either the data in a stream or data in a static file that is...
Read more >
Using Static Files & StaticFiles Dirs in Django - YouTube
In this Django course, We will see how to create awesome django websites from starting to the end. Also we will see how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found