Bom dia meu amigo muito obrigado pela ajuda, foi um erro muito óbvio mas é
isso mesmo, valeu pela ajuda! comunidade foda!
Em qui., 4 de ago. de 2022 às 07:34, Joel Goldstick <
joel.goldst...@gmail.com> escreveu:
> On Thu, Aug 4, 2022 at 6:21 AM Luciano Martins wrote:
> >
> > É annotate
> >
On Thu, Aug 4, 2022 at 6:21 AM Luciano Martins wrote:
>
> É annotate
> Publisher.objects.annotate(below_5=below_5).annotate(above_5=above_5)
> Em quarta-feira, 3 de agosto de 2022 às 19:31:18 UTC-3,
> alvaroteixe...@gmail.com escreveu:
>>
>> Bom dia amigos, estou desenvolvendo um blog e me
É *annotate*
Publisher.objects.annotate(below_5=below_5).annotate(above_5=above_5)
Em quarta-feira, 3 de agosto de 2022 às 19:31:18 UTC-3,
alvaroteixe...@gmail.com escreveu:
> Bom dia amigos, estou desenvolvendo um blog e me deparei com um erro em
> uma consulta, vou mandar o trecho do codigo
Hello Sencer
You can add cuatom functions to your serializer to return the data with the
zerializer .
For example you can add :
def email_serializer(email):
if !email.endswith("gmail.com"):
raise SerializerError("Error wrong email address : ", email)
This is just an example your
Also when editing an item that has already been created "modelName" is
undefined so the submit buttons don't get
overridden:
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/js/change_form.js#L8
So works when editing, but not when adding a new item.
On Thursday, 4
Hello again,
For anyone interested, more detailed version was sent to stackoverflow:
https://stackoverflow.com/questions/73231297/proper-way-to-return-erroneous-data-with-serializer-error
Kind regards,
Sencer HAMARAT
On Wed, Aug 3, 2022 at 7:58 AM Sencer Hamarat
wrote:
> Hi,
>
> I found a
Looks like "_addanother" isn't in the
request.POST:
https://github.com/django/django/blob/main/django/contrib/admin/options.py#L1388
The name on the input isn't being passed with the form
submit:
you can watch this https://www.youtube.com/watch?v=w8SQ8beafiQ
On Thu, 4 Aug 2022 at 06:09, Abdul Qoyyuum
wrote:
> Yes it can be done. Django to provide API endpoints. React app to connect
> to those API endpoints.
>
> Abdul Qoyyuum Bin Haji Abdul Kadir
> System Engineer at Card Access Services
8 matches
Mail list logo