Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

django_idom app causes a significant delay #128

Answered by Archmonger
numpde asked this question in Problem
Discussion options

When I do anything with Django's manage.py (migrate, collectstatic, runserver, ...), I see the two messages:

2023年02月20日T18:57:54+0000 | DEBUG | IDOM is in debug mode
IDOM has detected component sessions in the database, but no timestamp was found in cache. This may indicate that the cache has been cleared.

and it currently takes ~10sec. The DB is remote.

Another scenario is when writing scratch code or tests that start with

import os
import django
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "[myproject].settings")
django.setup()

Omitting django_idom from INSTALLED_APPS removes the delay.

django-idom==3.0.0a2
idom==1.0.0a3

You must be logged in to vote

3.0.0a3 has been released. The ReactPy database backend is now configurable.

Replies: 1 comment 8 replies

Comment options

Do you have a lot of Django template files?

You must be logged in to vote
8 replies
Comment options

As of right now, that's not a configurable setting. Good idea though, I will add that to the next version.

Comment options

Thank you.

Comment options

Will be resolved in this PR

Comment options

3.0.0a3 has been released. The ReactPy database backend is now configurable.

Answer selected by Archmonger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /