Re: Making data case insensitive

2018-05-10 Thread manoj kumar
Here is the error message: Environment: Request Method: POST Request URL: http://127.0.0.1:8000/drone-categories/ Django Version: 1.11.12 Python Version: 2.7.12 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', '

Re: Making data case insensitive

2018-05-10 Thread manoj kumar
Thanks for the info, Carlton. Does this work with HyperlinkedModelSerializer too? On Thursday, 10 May 2018 17:26:33 UTC+5:30, Carlton Gibson wrote: > > Hi Manoj. > > Check out the field validation docs: > http://www.django-rest-framework.org/api-guide/serializers/#field-level-validation >

Making data case insensitive

2018-05-10 Thread manoj kumar
I have a model and serializer as below: class Data(models.Model): name = models.CharField(max_length=15, primary_key=True) class DataSerializer(serializers.ModelSerializer): class Meta: model = models.DataCenter fields = ('name',) It accepts "TEST" as well "test" as vali

Data Partitioning

2018-03-21 Thread Manoj Kumar P
Hi, Firstly, The context. My company wants to use layers of classes called API's and google protobuf as the data exchange format. An API is tied to a protobuf message Reason is, thinking ahead. model changes might impact code base. But i feel confused. I believe that model changes can be enca

nested url pattern is not visible on include_docs_urls / Interactive API Documentation

2017-06-21 Thread Manoj Kumar P
Hi, I'm checking out the new new interactive API documentation the routes that are added in below fashion are not visible on the sidebar of the *Interactive API documentation* url(r'^api/', include(