Got it, I will try to do the same.
On Tuesday, November 20, 2018 at 6:12:20 PM UTC+5:30, Yavin Aalto Arba
wrote:
>
> Not sure if we're a bit confused on the use case here. REST framework is a
> server side platform which can help you implement apis fast, it's a good
> idea to use if you don't h
Hi @MTS S BOUR,
I am not using forms.pr currently. These forms fields are from models.py
only.
That's I w had not thought about html form.
On Tuesday, November 20, 2018 at 5:18:54 PM UTC+5:30, MTS BOUR wrote:
>
> I didn't really understand what you mean, why not use method Post in a
> boutton in
Not sure if we're a bit confused on the use case here. REST framework is a
server side platform which can help you implement apis fast, it's a good
idea to use if you don't have an endpoint and want fast CRUD
implementation. As for having a button on the client side - you can use
HTML forms or ajax
Thanks @Yavin for your suggestion.
I thought I will have to use Django Rest Framework for this functionality,
never thought that from front end I can do that :)
On Tuesday, November 20, 2018 at 5:17:35 PM UTC+5:30, Yavin Aalto Arba
wrote:
>
> Hi Prateek,
>
> I think your best option is using jav
I didn't really understand what you mean, why not use method Post in a
boutton in an Html form ?
Le mar. 20 nov. 2018 à 12:24, prateek gupta a écrit :
> Hi All,
>
> I have an admin panel built on Django 2.0.6, MySql 5.7 and Python 3.6.
>
> In this panel I have a field 'PIN' described in models.p
Hi Prateek,
I think your best option is using javascript on the front end - leveraging
an ajax post call.
On Tue, 20 Nov 2018 at 13:24, prateek gupta wrote:
> Hi All,
>
> I have an admin panel built on Django 2.0.6, MySql 5.7 and Python 3.6.
>
> In this panel I have a field 'PIN' described in m
Hi All,
I have an admin panel built on Django 2.0.6, MySql 5.7 and Python 3.6.
In this panel I have a field 'PIN' described in models.py like below-
class MerchantStores(models.Model):
store_id = models.AutoField(primary_key=True)
pin = models.CharField(unique=True, max_length=45, blank=T
7 matches
Mail list logo