I am moving a Django project from django-hvad to django-parler during a Django upgrade process.
In django-parler the API is almost the same as django-hvad and when I just replace the from hvad.something import Something it just works fine but I couldn't find an equivalent for translatable_modelform_factory
It does not exist in their documentation. Anybody has an idea on what can I use instead of this function and how can I use it? Thanks in advance.
In django-parler what is the equivalent of "from hvad.forms import translatable_modelform_factory"
233 Views Asked by moddayjob At
1
There are 1 best solutions below
Related Questions in DJANGO
- Display images on Django Template Site
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Django invalid literal for int() with base 10:
- Removing URL features from tokens in NLTK
- Django Noob URL to from Root Page to sub Page
- Django Admin tables not displaying correctly
- Django with chartkick
- Django urls.py not rendering correct template
- django form errors before submit
- django admin: custom app_index with context
- Display multiple models in one view in Django
- Unexpected NoReverseMatch error when using include() in urls patterns
- Search for a key in django.core.cache
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Django flush won't load fixtures
Related Questions in DJANGO-HVAD
- Using a TranslatableModel in a form ModelChoiceField
- In django-parler what is the equivalent of "from hvad.forms import translatable_modelform_factory"
- django-hvad - how should I set a translated field value while saving a model instance?
- How we get Untraslated model in Foreign key relation in Django_cms(hvad)
- Django Admin Custom Widget for ForeignKey
- Manage multiple languages with django-hvad in one formset
- pip, PIL and Pillow
- How I can access the fields without translation through an instance of TranslatableModel?
- Django REST Framework can't show translatable fields
- Searching or filtering on translated relationships with Django-hvad
- Django admin field validation to return error not raise exception in application
- After refresh page results are change for dictsort() in django template
- migrating to Django 1.11 django-hvad error
- Why does prefetch_related() raise AttributeError?
- How to update a translatable model using DRF and hvad
Related Questions in DJANGO-PARLER
- Access django translated fields in values
- Django-parler unique_together constraint between translated and normal field
- Using translate field for 'unique' rises NameError, django-parler
- In Django saving a (translated) slug and making it unique doesn't work
- Why can't I create an instance of a class inside an abstract class
- Django Admin with Parler translations generates IntegrityError
- Django parler: error when same translation for different languages
- In django-parler what is the equivalent of "from hvad.forms import translatable_modelform_factory"
- Django Parler "The 'language_code' attribute cannot be changed directly
- Django translations with parler - show default language text when adding translation
- Impossible export django-parler translated fields with the common comand dumpdata
- In Django remove duplicates of a QuerySet when using parler
- Django-parler: type object 'BookImage' has no attribute '_parler_meta'
- Django Parler also shows translated object on the admin list
- Am having troubles with django-parler 2.0.1 after i had applied migration to translations, it won't show Products fields in admin site
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found an answer and I put it here in case anyone searches for it in the future: django-parler uses
TranslatableModelFormclass instead of translatable_modelform_factory function and it takes exactly the same arguments.