-
Hi asifpy,
Could you please help to advise how can I get request.user in forms.py and crud.py, in normal view.py I can use below to pass.
form = inventoryForm(user=request.user)
in forms.py
class i…
-
I'm not sure this applies to you too or if it's some kind of issue in my project. Sorry in advance in this case.
I need to associate the crud to a proxy model. This proxy model extends a model define…
-
I have this structure
cadastro/models.py
/forms.py
/views.py
/urls.py
perfil/models.py
in cadastro/views.py
from perfil.models import proxy ****>> OTHER APP
....…
-
Hi,
I am try to user a
def post_inline_create_handler(sender, **kwargs):
to include like parent.updated_by = request.user
So whem I submit a create
I take a error
django.db.utils.IntegrityError: (…
-
-
I am using a model with a field image
(models.py)
Cadastro
logo = models.ImageField(upload_to = gera_caminho_cad, blank=True)
in view.py
class CadastroCrud(BaseCrudBuilder):
model = Cadastro
…
-
Hi,
I use
tables2_pagination = 10
But in list view show me 25 row.
May you check this.
Tank you