Comments (2)
Perfect, thanks!
from django-extra-views.
Yes, you can set the form_class
attribute on the InlineFormsetFactory
instance, e.g.:
from extra_views import CreateWithInLinesView, InlineFormsetFactory
class MyView(CreateWithInLinesView):
...
model = Capture # I guess
inlines = [CaptureVersionInline]
class CaptureVersionInline(InlineFormsetFactory):
model = CaptureVersion
form_class = FormulariCaptura
from django-extra-views.
Related Issues (20)
- Multiple CreateWithInlinesView in one view? HOT 3
- Django version support HOT 1
- missing individual form fields rendering HOT 1
- No tag for 0.14.0 HOT 2
- test_missing_management failure HOT 1
- Switch CI to GitHub Actions HOT 2
- Autocomplete using InlineFormSetFactory HOT 4
- UpdateWithInlinesView Inline Form Ordering HOT 3
- Using widgets with UpdateWithInlinesView HOT 1
- Passing foreign key data to UpdateWithInlinesView forms via InlineFormSetFactory HOT 1
- Creating and saving new inline forms in an UpdateWithInlinesView-based form. HOT 1
- customise and separate inline template tag
- [Feature] Use slug fields instead of pk in formset templates HOT 3
- How to pass URL Vars to from InlineFormSetFactory (views.py) to ModelForms (forms.py) HOT 6
- setting “python_requires” with ">=3.5" is a better way to declare Python compatibility HOT 1
- View to use for non-model forms HOT 3
- form_kwargs and get_form_kwargs for inline forms missing HOT 1
- SearchableListMixin should manage form HOT 1
- Cannot paginate using `ModelFormSetView` HOT 4
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-extra-views.