Comments (8)
Hello @fabrixxm and thanks for bringing this thread back to life.
There's a big rebase needed for #37, and some unit tests also. I've got some momentum working on this project over the last few days, so I'll try to keep this good mood going and implement this during for this weekend.
from django-dynamic-preferences.
I'm not really sure I perfectly understand your use case, however, a file preference seems quite a good idea, even for simpler use cases, e.g storing a header or background image for a project.
I'm not sure how it would be serialized, though, I have to get a look at django's built in models.FileField
, to get a closer idea.
from django-dynamic-preferences.
In my project I need file preference type. Is there any chance it will be included in future release?
from django-dynamic-preferences.
I cannot promise anything because I have a really busy schedule currently. It is definitely a feature I'd like to see implemented, but I cannot give you a date. Also, dealing with files is always more complicated than other data types, because you have to keep the filesystem in sync with the database, and I currently have no precise idea on how to implement this feature.
I keep your request in mind and will update this issue as soon as I start working on this. If someone else want to start implementing this, it's okay too :)
from django-dynamic-preferences.
Any news on merging #37 ?
from django-dynamic-preferences.
@fabrixxm The 1.2 release including this has been pushed to PyPi ;)
from django-dynamic-preferences.
well, that was quick! :-)
Thank you, tomorrow I'll update my project requirements file 👍
from django-dynamic-preferences.
@fabrixxm and everybody using 1.2: there is a critical bug in this version that can result in dataloss.
Please upgrade to 1.3 (at least) as soon at possible and do not use 1.2 in production.
See https://django-dynamic-preferences.readthedocs.io/en/latest/history.html#id1 for more details.
Sorry for the trouble.
from django-dynamic-preferences.
Related Issues (20)
- Default value is not applied back after clearing a preference HOT 3
- Support other cache than 'default' HOT 1
- "POST" API request not supported by GlobalPreferencesViewSet
- How to set a django setting dynamicly? HOT 4
- FloatPreference should be able to be initialized from both floats and ints
- Missing migration in version 1.12
- Not update affecting in Django channel HOT 1
- Divide preferences by section in the admin interface - Signals problem HOT 13
- Add support for Graphene-Django HOT 3
- PerInstancePreferenceAdmin raises MultipleObjectsReturned while saving a per instance preference
- django.core.files.uploadedfile.InMemoryUploadedFile not supported in s3transfer HOT 1
- RemovedInDjango41Warning: 'dynamic_preferences' defines default_app_config HOT 2
- ModelMultipleChoicePreference update not working HOT 2
- New release + Django 4 support? HOT 1
- Mocking global preferences when testing HOT 2
- Documentation about FilePreference is too light HOT 3
- make a release HOT 1
- Caching is not invalidated HOT 8
- Is it possible to access the preferences in annotations? HOT 1
- Tests do not run with Python 3.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-dynamic-preferences.