Agate

Results 67 comments of Agate

This feature is not supported in dbes, but actually pretty interesting. Thank you for taking the time to write this issue. I'm lacking time to work on dbes these days,...

Hi, could you please share your code so I can have a look at the issue?

Indeed, I can see how it could be an issue. I'd gladly review and merge a PR for this. If anyone wants to give it a try, you can: 1....

Hi there! The current way to run tests is with `tox`. Once you have cloned the repo, run: ```bash pip3 install --user tox # run tests for all combinations of...

Hi @Cisco25! The `field_class` argument should be a `FormField` not a `ModelField`. So use `django.forms.FilePathField` instead of `django.db.FilePathField`: https://docs.djangoproject.com/en/2.2/ref/forms/fields/#filepathfield You can specify additional arguments to the field class with `field_kwargs`...

> You are right, my mistake. I reread the documentation and now it's clear, sorry I'm starting with Django and there was no example on how to put everything together...

> I also got mistaken by the name of this field (FilePathField) which I thought who let the user select a folder on his system and return the path Regarding...

@serbant `prefs.get('my_section__my_name')` should use the value from the cache, and the cache is invalidated on any database change (otherwise it's a bug). Can you please share a complete code example...

I'd like to know how your cache if configured. If you're using an in-process cache backend and not a cross-process one like redis, db or memcached, it's indeed possible that...

I have to double check this, but I think the current order is the app discovery order then the preference discovery order, when using the form builder. In the django...