crudlfap issueshttps://yourlabs.io/oss/crudlfap/-/issues2022-04-05T09:24:27Zhttps://yourlabs.io/oss/crudlfap/-/issues/19Form success url may fail2022-04-05T09:24:27Zbob-rForm success url may failbecause instance method is called as class method: https://yourlabs.io/oss/crudlfap/-/blob/master/src/crudlfap/mixins/form.py#L120
should it be `self.router['list'].reverse()` instead?because instance method is called as class method: https://yourlabs.io/oss/crudlfap/-/blob/master/src/crudlfap/mixins/form.py#L120
should it be `self.router['list'].reverse()` instead?https://yourlabs.io/oss/crudlfap/-/issues/17Nice to have documentation or example to CRUD hierarchical models2022-04-05T21:48:55Zbob-rNice to have documentation or example to CRUD hierarchical modelsif model inheritance is a reasonable pattern
would it be possible to implement polymorphic delail view?
probably, related to #16if model inheritance is a reasonable pattern
would it be possible to implement polymorphic delail view?
probably, related to #16https://yourlabs.io/oss/crudlfap/-/issues/16Nice to have documentation or example to CRUD related models2022-04-07T19:51:04Zbob-rNice to have documentation or example to CRUD related modelssomething like this http://demo.viewflow.io/employees/employees/10001/detail/ (inspired by inline admins of django.contrib.admin)something like this http://demo.viewflow.io/employees/employees/10001/detail/ (inspired by inline admins of django.contrib.admin)https://yourlabs.io/oss/crudlfap/-/issues/15Is it correct that template view title comes from view label?2021-12-16T10:24:39Zbob-rIs it correct that template view title comes from view label?https://yourlabs.io/oss/crudlfap/-/blob/7304f5b0f7e5a5a8534f4e092cbe804a3c9132dd/src/crudlfap/mixins/template.py#L54-55https://yourlabs.io/oss/crudlfap/-/blob/7304f5b0f7e5a5a8534f4e092cbe804a3c9132dd/src/crudlfap/mixins/template.py#L54-55https://yourlabs.io/oss/crudlfap/-/issues/14Not clear how to override context in template view2021-12-16T10:23:10Zbob-rNot clear how to override context in template viewAll `get_context` return, except for `TemplateMixin`:
- TemplateMixin: https://yourlabs.io/oss/crudlfap/-/blob/7304f5b0f7e5a5a8534f4e092cbe804a3c9132dd/src/crudlfap/mixins/template.py#L47-49
- FormMixin: https://yourlabs.io/oss/crudlfap/...All `get_context` return, except for `TemplateMixin`:
- TemplateMixin: https://yourlabs.io/oss/crudlfap/-/blob/7304f5b0f7e5a5a8534f4e092cbe804a3c9132dd/src/crudlfap/mixins/template.py#L47-49
- FormMixin: https://yourlabs.io/oss/crudlfap/-/blob/096c96f4f866c65e981ab2ffb1566adffd8149e6/src/crudlfap/mixins/form.py#L14-16
- ObjectMixin: https://yourlabs.io/oss/crudlfap/-/blob/4aea1cb1231a114d0a4cb7790b33542062d1e074/src/crudlfap/mixins/object.py#L33-35
Would it be correct for a very involved template view to inherit from `TemplateView` and override `get_context`? If so, `get_context` should return the context.https://yourlabs.io/oss/crudlfap/-/issues/13Missing namespace in templates fullname2022-07-31T17:27:11Zbob-rMissing namespace in templates fullnamedue to incorrect conditional at https://yourlabs.io/oss/crudlfap/-/blob/4aea1cb1231a114d0a4cb7790b33542062d1e074/src/crudlfap/route.py#L106
registry is inherited from OrderedDict and may be empty so that it would be correct to `elif cls...due to incorrect conditional at https://yourlabs.io/oss/crudlfap/-/blob/4aea1cb1231a114d0a4cb7790b33542062d1e074/src/crudlfap/route.py#L106
registry is inherited from OrderedDict and may be empty so that it would be correct to `elif cls.registry is not None:`https://yourlabs.io/oss/crudlfap/-/issues/12Support multiple sites2021-12-14T12:12:23Zbob-rSupport multiple sitesDespite it is possible to customize sites and override references to site/registry, providing the list/dictionary of sites would really speed up development. Use case, multi-dashhboard system, with different choice of apps per dashboard/...Despite it is possible to customize sites and override references to site/registry, providing the list/dictionary of sites would really speed up development. Use case, multi-dashhboard system, with different choice of apps per dashboard/role (user/editor/admin).
Currently, registry, router, view classes return global site variable defined in crudlfap.https://yourlabs.io/oss/crudlfap/-/issues/11Consider django_tables2 accessors for checkbox list actions2021-12-16T10:37:24Zbob-rConsider django_tables2 accessors for checkbox list actionsinstead of generating a column in ObjectList.to_html
https://django-tables2.readthedocs.io/en/latest/pages/custom-data.html
In TableMixin, a django_tables2.CheckBoxColumn could be attached to django_tables2.Table in the same way as Act...instead of generating a column in ObjectList.to_html
https://django-tables2.readthedocs.io/en/latest/pages/custom-data.html
In TableMixin, a django_tables2.CheckBoxColumn could be attached to django_tables2.Table in the same way as ActionsColumn.https://yourlabs.io/oss/crudlfap/-/issues/10Missing default_template_name attribute in DeleteMixin2021-12-13T17:06:09Zbob-rMissing default_template_name attribute in DeleteMixinhence the view is expecting `crudlfap/form.html`hence the view is expecting `crudlfap/form.html`https://yourlabs.io/oss/crudlfap/-/issues/9Inconsistent getters in search/filter view mixins2021-12-13T17:14:03Zbob-rInconsistent getters in search/filter view mixins- SearchMixin refers to router's search_fields: https://yourlabs.io/oss/crudlfap/-/blob/master/src/crudlfap/mixins/search.py#L16-17
- FilterMixin doesn't for filter_fields (or filterset)- SearchMixin refers to router's search_fields: https://yourlabs.io/oss/crudlfap/-/blob/master/src/crudlfap/mixins/search.py#L16-17
- FilterMixin doesn't for filter_fields (or filterset)https://yourlabs.io/oss/crudlfap/-/issues/8Filters not fully working on demo2021-12-18T13:06:11Zbob-rFilters not fully working on demofilters are displayed but not applied: no filter button, no javascript callback
![image](/uploads/ac80413b2ad851426f34dec117cd67d2/image.png)filters are displayed but not applied: no filter button, no javascript callback
![image](/uploads/ac80413b2ad851426f34dec117cd67d2/image.png)jpic ∞jpic ∞https://yourlabs.io/oss/crudlfap/-/issues/7Add this project to djangopackages.org CRUD2021-12-14T18:39:48Zbob-rAdd this project to djangopackages.org CRUDhttps://djangopackages.org/grids/g/crud/https://djangopackages.org/grids/g/crud/https://yourlabs.io/oss/crudlfap/-/issues/6Custom template2021-12-16T09:46:00Zbob-rCustom templateThe project is great. I am trying to integrate it to existing project based on django templates and AdminLTE. I'm stuck on ryzom/crudlfap.html modules. Ryzom may be a good idea but not for those who have to decompose/pythonise html or dj...The project is great. I am trying to integrate it to existing project based on django templates and AdminLTE. I'm stuck on ryzom/crudlfap.html modules. Ryzom may be a good idea but not for those who have to decompose/pythonise html or django templates. Can you advise on a clean way to customise crudflap template? Any documentation on this in crudlfap/ryzom projects?https://yourlabs.io/oss/crudlfap/-/issues/5New feature: crudlfap_i18n2021-05-25T19:45:20Zjpic ∞New feature: crudlfap_i18nCode a crudlfap_i18n module with a Language model, synchronizing its own "is_active" boolean by introspecting the settings on startup, it also offers a Content model with a db_index name and a JSONField containing a dict of `{lang: user ...Code a crudlfap_i18n module with a Language model, synchronizing its own "is_active" boolean by introspecting the settings on startup, it also offers a Content model with a db_index name and a JSONField containing a dict of `{lang: user text}` that a form metaclass could create textareas for.
The idea is to be able to use this with the `Markdown()` ryzom component as such:
```
Markdown(Block.objects.get(name='home/intro1', language=request.language))
```
And even a MarkdownBlock component:
```
MarkdownBlock('home/intro1')
```
It would get the request object from the context.https://yourlabs.io/oss/crudlfap/-/issues/4Drawer must close on click on mobile2021-05-25T18:08:33Zjpic ∞Drawer must close on click on mobileCommit 3237479604fb2d353f8bb72e3eda74c78638938e takes care of this, but it often doesn't work for me on browser with small width and on mobile.Commit 3237479604fb2d353f8bb72e3eda74c78638938e takes care of this, but it often doesn't work for me on browser with small width and on mobile.