Better use JSON Field to store all the informations
On Mon, Jun 20, 2022 at 12:16 PM Abhinandan K
wrote:
> how to store the data in django databse table if user append fields
> according to their need
> for example i have 1 one field 1) name 2) age 3) salary and the sign('+)
> if user click on +
*
* >,
>, >]>*
*Instead of returnning one matched object inside queryset it's returnning
three matched object because I have three contact details for this user.*
*Thank you in advance*
*Regards,*
*Soumen Khatua*
--
You received this message because you are subscribed to the Goog
no,directly I'm using *TIME_ZONE = 'Asia/Kolkata',*
On Sun, Aug 30, 2020 at 11:37 PM Kunal Solanke
wrote:
> Are you using timezone for saving time
> which is exported from django.utils or the python datetime module?
>
> On Sun, Aug 30, 2020, 23:34 Soumen Khatua
>
like: *2020-08-30 14:14:00+00:00*
Can anyone tell me why I'm getting wrong time,although I selected *TIME_ZONE
= 'Asia/Kolkata'*
Thank you
regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
multiple hours on this problem.but still I don't have any
clue what is the way to solve it.
Thank you
Regards,
Soumen Khatua
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails f
Hi Folks,
Actually I want to set up multiple Databases like one DB for User-specific
table and another DB for Blog Post, But in this case, User should be a
Foreign Key in Post table. Is it possible to do that, if it is then How I
can write a query(ORM)?
Thank you
Regards,
Soumen
--
You
Yes, at the time of add a new record in model, automatically I want to
create a custom ID and insert it into model
On Wed 24 Jun, 2020, 7:18 AM Clive Bruton, wrote:
>
> On 23 Jun 2020, at 23:32, Oleg Kishenkov wrote:
>
> > Hello Soumen, you should use a CharField with the p
In the documentation they are specified, How to set Primary Key in Django
model but In my case, I want to generate custom Primary Key?!
On Wed, Jun 24, 2020 at 1:36 AM David Chorpash
wrote:
> Hi Soumen,
>
> Are you looking for this?
> https://docs.djangoproject.com/en/3.0/ref/m
Hi Folks,
In Django is there any way to create custom Primark Key like:
M01234GH, M056YUOIP, etc.
Please help me guys.
Thank you in advance
Regards,
Soumen Khatua
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
Thank you for your response.
On Tue 16 Jun, 2020, 6:29 AM Soumen Khatua,
wrote:
> Yeah but in this way the time complexity will be very high, just think if
> I'll have more than 1 million post than it will check all the field if it
> is available or not.
> However my query is
slug = '{}-{}'.format(slug, num)
>> num += 1
>> return unique_slug
>>
>> def save(self, *args, **kwargs):
>> if not self.slug:
>> self.slug = self._get_unique_slug()
>> super().save(*args, **kwar
Could you give me an example??
On Mon, Jun 15, 2020 at 1:21 PM Kayode Oladipo
wrote:
> There's an id field built into every Django model (aka, the primary key
> (pk))
>
> Just do, ModelInstance.id and that should do the trick.
>
> Cheers.
>
> On Mon, Jun 15, 2020, 8
the
parameter of the view and it can be duplicated.
Any help will be appreciated
Thank You
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
return
Response(serializer.data,status=status.HTTP_200_OK)*
Please help me
Thank You
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
t
s Meta:
model = Userfields =
('full_name','email','phone_number','bio')class
UserFollowSerializer(serializers.ModelSerializer): user =
UserDetailSerializer(read_only=True) class Meta: model =
Follow fields = ('user
Thank You, for your guidance.I think I'm very close to this problem.
Thank you once again.
On Fri, May 29, 2020 at 9:56 AM אורי wrote:
> Hi Soumen,
>
> You can filter on another table by using __, for
> example:
>
> User.objects.filter(profile__profiles__institute
Hi,
Yeah, but whenever I'm trying to iterate a loop on all these qs. I'm
getting an *error too many sql variables.* I know I'm doing something
wrong,but I'm not able to find the error.
Thank you for your response and time.
Regards,
Soumen
On Fri, May 29, 2020 at 5:
n Key, in Education table.
actually I want to fetch all the users those are from the same Institution
or Specialization or location.
Thank you for your response and time.
Regards,
Soumen
On Fri, May 29, 2020 at 9:56 AM אורי wrote:
> Hi Soumen,
>
> You can filter on anothe
appreciated.
Thank You
Regards,
Soumen
*class Location(models.Model):name = models.CharField(max_length = 15)*
*class Profile(models.Model):user = models.OneToOneField(
settings.AUTH_USER_MODEL,on_delete = models.CASCADE,
related_name="profile")
Actually I want to fetch all users from User table and users location from
Location table which is many to many relation from same Profile table. Is
it possible???
On Thu 28 May, 2020, 2:54 AM Soumen Khatua,
wrote:
> Now I'm facing one problem whenever I'm trying to iterate a loop
Now I'm facing one problem whenever I'm trying to iterate a loop I'm
getting too many SQL variables. Actually after iterating the loop I want to
render all the value in the template.
if could you resolve this it would be very good for me.
Thank you for your time and response
Regar
)location = models.ManyToManyField(Location)*
Thank you
Regards,
Soumen
On Wed, May 27, 2020 at 7:20 PM Chetan Ganji wrote:
> select_related for fk and prefetch_related for m2m in django, you can
> chain them together
>
> Regards,
> Chetan Ganji
> +91-900-483-4183
> ganji.che...@gma
Hi Folks,
I have many to many relationships and Foreign Key in the table, I'm using
select_realted(foreign key filed name) to optimize the query but I want to
fetch many to many and foreign key at the same time , How I can do this in
very optimized way?
Thank You
Regards,
Soumen
--
You rec
Hi Folks,
Actually my requirement is a registered user can create a room/group where
n(could be any number) number of peoples can join for a certain period of
time like 1 hr,But I don't have any idea about this,How I can do this in
Django?!
Any help will be appreciated
Thank You
Regards,
S
Hi Guys,
I want to use Django-pipeline library, Does anyone know how I can use it?
I'm also using AWS S3 storage. Any help will be appreciated.
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
help me guys regarding this issue.
Thank you in advance
Regards,
Soumen
Note: All error are here
*Access to font at
'https://xyz.s3.amazonaws.com/static/css/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0
<https://xyz.s3.amazonaws.com/static/css/font-awesome/fonts/fontawesom
Hi Folks,
I'm using many to many relationship of a model by I'm not able update one
person record. I don't know how to update a particular person's record when
I'm using many to many relationship.
Thank you
Regards,
Soumen
--
You received this message because you are
searching about it if you
people know how to solve it then it will save lots of time.
Thank you in advance.
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from
??
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discuss
nd a message to that user
something like your data is already existed in our database. But I don't
know how do that,please help my guys?!!
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
Could you tell me how I can save image in aws S3 bucket after resizing the
image into some random pixels??
Thank you
On Wed, Mar 4, 2020 at 12:11 PM Soumen Khatua
wrote:
> obj.save(force_insert=True, using=self.db)
> TypeError: save() got an unexpected keyword argument 'f
obj.save(force_insert=True, using=self.db)
TypeError: save() got an unexpected keyword argument 'force_insert'
[04/Mar/2020 12:11:16] "POST /register/ HTTP/1.1" 500 108601
On Wed, Mar 4, 2020 at 12:00 PM Soumen Khatua
wrote:
> okay..sure
>
> On Wed, Mar 4,
okay..sure
On Wed, Mar 4, 2020 at 11:56 AM Naveen Arora
wrote:
> Can you share the complete traceback of error + what are you passing and
> where so that i can understand the flow. ?
>
> Cheers
>
> On Tuesday, 3 March 2020 19:15:56 UTC+5:30, Soumen Khatua wrote:
>>
&g
2020 13:46:11 UTC+5:30, Soumen Khatua wrote:
>>
>> Hi Folks,
>>
>> I'm using AWS S3 Bucket to store media folder(images) but I want to
>> resize each every image in 300*300. So, I'm overriding the save method
>> inside django model class. But I'm
don't know how to solve this issue.
Thank you in advance
Regards,
soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr.
Actually I'm storing this files in aws s3 bucket..but I want to know Is it
a good practice to store all the images and documents inside media folder.
On Sat 29 Feb, 2020, 6:45 PM Appu Yadav, wrote:
> store image and documents in aws bucket or Google stroage
>
> On Sat, 29 Feb 2020, 10:25 Naveen
Okay, sure.
Thank you for your response.
On Sat 29 Feb, 2020, 11:33 AM Naveen Arora,
wrote:
> Hi
>
> have a look at this -
> https://github.com/codingforentrepreneurs/Guides/blob/master/all/Heroku_Django_Deployment_Guide.md
>
> Cheers
>
> --
> You received this message because you are subscribe
I already read the documentation but still I'm confuse that's why I posted.
BTW thank you for your help.
On Fri, Feb 28, 2020 at 5:51 PM Naveen Arora
wrote:
> Hi Soumen,
>
> https://docs.djangoproject.com/en/3.0/howto/static-files/deployment/
> https://docs.djangopr
r','profile_pic']extra_kwargs
= {'user': {'write_only': True}}*
My models.py contain profile_pic as a ImageField.
Thank you in advance
Regards,
soumen
--
You received this message because you are subscribed to the Google Groups
&q
me name NOTE make sure that you have a media
> folder added to you your settings.py file or you can pass the path to where
> to save the image like this fs = FileSystemStorage(location=
> 'media/rent_pictures/') Hope this helps another thing is that image is
> also a file and
Hi Folks,
I'm storing users images and documents inside media folder during
development. but I don't how to serve this files for production level.Any
one have any idea, actually I read the documentation but I'm still confuse.
Thank You in advance
regards,
soumen
--
You receiv
Hi Folks,
Actually I have one image filed called profile_pic and another is file
field called documents but I don't know what is best practise to store it.
Most importantly how I can make each user details is unique.
Thank you in advance
Regards,
Soumen
--
You received this message be
-sensitive .
But don't why i'm getting this error message.
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an e
But I'm getting one error
On Tue 25 Feb, 2020, 5:59 PM Naveen Arora,
wrote:
> Hi, this is simple just enclose {{name}} into " " as "{{name}}" for your
> part.
>
> Thanks
>
> On Tuesday, 25 February 2020 15:56:05 UTC+5:30, Soumen Khatua wrote:
>>
Hi Folks,
I'm sending some context data into html like
name = 'soumen'
return render(request,'xyz.html', context = {'name':name})
inside myjs.js(js script has been integrated to html):
---
var
If I'm using serializer then it's working fine but I want to return only
database object. So for that Do I need to add serializer.
Thank you for your response.
On Thu 20 Feb, 2020, 11:17 PM MTS BOUR, wrote:
> Can you show us your serializer.py file?
>
>
> Le jeu. 20 fé
Response({'user':user}, status = status.HTTP_200_OK)*
*urls.py*
**
*urlpatterns = [
path('api/location/',views.LocationApiView.as_view(),name =
'api_location')]*
*btw when I'm sending a normal message it's working fine. But in this case
I'
Hi Folks,
I want to run a script or url at the time of django server loading.So Does
this possible,If yes could you tell me,How?
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
the CSV file is loading inside the AutoComplete(class) constructor
On Mon, Feb 17, 2020 at 10:44 PM Soumen Khatua
wrote:
> The CSV file is in project folder.Could you send me any code
> snippet,Please?
>
> Thanks for your time.
>
>
>
> On Mon, Feb 17, 2020 at 10:39
The CSV file is in project folder.Could you send me any code snippet,Please?
Thanks for your time.
On Mon, Feb 17, 2020 at 10:39 PM maninder singh Kumar <
maninder.s.ku...@gmail.com> wrote:
> Hi Soumen,
> Where is the Csv file loading ?
> You could try return redirect also if
;>
>>
>>
>>
>> *else:self.keys.append(row[1])
>> print("constructor execution")global tt = Trie()
>> t.formTrie(self.keys) def post(self,request):key = request.data
>> print("
il.com> wrote:
>
>> i faced the same problem while i was dealing with CSV file.
>> i gave a unique file in csv to make a check on the particular entry. by
>> this way, i avoided multiple entries in my database
>>
>>
>> On Mon, Feb 17, 2020 at 7:30 PM Soumen
Yeah, I'm trying to do it in your way but somehow it's not working in my
script.
Thanks for your valuable time.
On Mon, Feb 17, 2020 at 7:27 PM Kasper Laudrup
wrote:
> Hi Soumen,
>
> On 17/02/2020 14.51, Soumen Khatua wrote:
> > Okay.
> > Is it possible to lo
Okay.
Is it possible to load the csv file one time do the POST or any request
multiple times without loading the same file.Of course If it is in same
class??
On Mon, Feb 17, 2020 at 7:14 PM Kasper Laudrup
wrote:
> Hi Soumen,
>
> On 17/02/2020 14.31, Soumen Khatua wrote:
>
al tt = Trie()t.formTrie(self.keys)def
post(self,request):key = request.dataprint("key:",key)
suggested_word = t.printAutoSuggestions(key)return
Response(suggested_word, status = status.HTTP_200_OK)*
*Thank you in advance*
*Regards,*
*Soum
okay,thank you
On Mon, Feb 17, 2020 at 5:46 PM onlinejudge95
wrote:
> On Sun, Feb 16, 2020 at 11:09 AM Soumen Khatua
> wrote:
>
>> Hi Folks,
>>
>> I have a model where user can upload their image.
>>
>
> I am assuming you are not storing the image as a
Okay
On Sun 16 Feb, 2020, 11:37 AM Devender Kumar, wrote:
> Read about cloudfront that will help you for sure.
>
> On Sun, 16 Feb, 2020, 11:03 am Soumen Khatua,
> wrote:
>
>> Actually I'm using s3 bucket but I want to convert it as a CDN. Could you
>> tell me ho
Hi Folks,
I have a model where user can upload their image. But after uploading a new
image the old image is still their but as for my convention if a user
upload his new image the old image should not be their, If anyone know
please tell me How I can do that??
Thank you
Regards,
Soumen
Actually I'm using s3 bucket but I want to convert it as a CDN. Could you
tell me how I can do that?
Thank you
Regards,
Soumen
On Fri 14 Feb, 2020, 1:10 PM Devender Kumar, wrote:
> I will suggest you go with AWS S3 you can use boto3 lib available for
> python
>
> On Thu, 13
Yes,I want to use CDN for my static files. But I don't know how to
implement it.
On Wed, Feb 12, 2020 at 9:04 PM Devender Kumar wrote:
> Some CDN
>
> On Wed, 12 Feb, 2020, 7:18 pm Soumen Khatua,
> wrote:
>
>> Hi Folks,
>> Where I need to store images and pdfs f
Hi Folks,
Where I need to store images and pdfs for production level.
Thank you in advance
regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Hi Folks,
Actually I want to implement memcache service into my project but I don't
know How to implement it with proper scalability. If anyone have any idea
or code snippet, please share with me.
Thank you
Regards,
Soumen
--
You received this message because you are subscribed to the G
Hi Folks,
I wrote one python file which is a Trie algorithm but i don't know how to
implement it in Django and javascript. Please help me regarding this matter.
Thank you in advance
regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Dj
m
> which is language agnostic. Technically, it shouldn't be asked in the
> Python Mailing list too.
>
> Keep a watch on your inbox though. :)
>
> Thanks,
> onlinejudge95
>
> On Sat, Feb 8, 2020, 3:06 PM Soumen Khatua
> wrote:
>
>> from collections impo
from collections import defaultdict
class TrieNode():
def __init__(self):
self.children = defaultdict()
self.terminating = False
class Trie():
def __init__(self):
self.root = self.get_node()
def get_node(self):
return TrieNode()
def get_index(self, ch):
return ord(ch) - ord('a')
def insert
Okay,sorry I thought Wireshark some code snippet. Now i got it.
Thank you
On Tue, Feb 4, 2020 at 5:46 PM Kasper Laudrup wrote:
> Hi Soumen,
>
> On 04/02/2020 13.02, Soumen Khatua wrote:
> > Yeah I did whatever you said but still I'm facing the same issue, But
> > same
Yeah I did whatever you said but still I'm facing the same issue, But same
code is working in Httpie and POSTMAN.That's why I'm surprised.
On Tue, Feb 4, 2020 at 5:29 PM Kasper Laudrup wrote:
> Hi Soumen,
>
> Did you read the rest of my answer past the first two lines?
:return: returns a successfully
created job record"""seekers_data =
validated_data.pop('seekers_name',None)return
Job.objects.create(**validated_data)return validated_data*
*But it's working in POSTMAN Tool*
*Thank you for your resp
ld you tell me why I'm getting this error?
but in POSTMAN it is woking properly.
On Tue, Feb 4, 2020 at 4:11 PM Kasper Laudrup wrote:
> Hi Soumen,
>
> On 04/02/2020 09.01, Soumen Khatua wrote:
> > Hi Folks,
> >
> > Actually now I'm usng POSTMAN for all ope
Hi Folks,
Actually now I'm usng POSTMAN for all operation like GET,POST,PUT,PATCH and
DELETE. But I want to do the same thing by using Curl Command, Could anyone
tell me what are the commands for CURL.I'm providing my end point below and
most important I'm using Basic Authentication.
1) http://12
Okay
Thanks for the information.
On Wed, 22 Jan 2020, 02:11 Irfan Khan, wrote:
> No I didn’t check that one, it will generate unique id’s for you but how
> many you wanted to generate you must write code explicitly with some logic
>
> On Wed, 22 Jan 2020 at 1:43 AM, Soumen Kha
Irfan- Are you sure it will generate unique id for 10 billion people.
On Wed, 22 Jan 2020, 01:39 Irfan Khan, wrote:
> Here you can check this link for reference
>
> https://pypi.org/project/nanoid/
>
>
> On Tue, 21 Jan 2020 at 9:02 PM, Soumen Khatua
> wrote:
>
Hi Folks,
I want to start my primary key from saome random number like: (onwards)
but not from 1. How I can do that in django?
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
ok
On Tue, Jan 21, 2020 at 11:19 PM Kasper Laudrup
wrote:
> Hi,
>
> On 21/01/2020 13.34, Roger Gammans wrote:
> > Hi
> >
> > The precise details of this depend on your hosting environment, but the
> > canonical method is request.get_host() ; see
> >
> https://docs.djangoproject.com/en/3.0/ref/r
Could you share any documentation link,please??
On Tue, 21 Jan 2020, 20:45 Irfan Khan, wrote:
> You can use nano library to generate unique numbers or characters
>
> On Tue, 21 Jan 2020 at 8:41 PM, Soumen Khatua
> wrote:
>
>> Hi Folks,
>>
>> Is their any oth
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web vi
I want to show the users/clients IP address
On Tue, Jan 21, 2020 at 5:29 PM bharat pamnani
wrote:
> hostname -I will give you the ip of user.
>
> On Tue, Jan 21, 2020 at 5:27 PM Soumen Khatua
> wrote:
>
>> Hi Folks,
>>
>> In my Django application I want to sh
Hi Folks,
In my Django application I want to show IP address of users, Just like
others financial websites. How I can do that using Django(of course it's
should be free cost).
Thank You in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google G
Thank you for your email
On Mon, Jan 20, 2020 at 3:09 PM Kasper Laudrup
wrote:
> Hi again,
>
> On 20/01/2020 10.22, Kasper Laudrup wrote:
> >
> > You want to generate a number between 0 and 1.000.000 that should be
> > unique for 10.000.000.000 instances?
> >
> > I hope you can understand why th
Hi Folks,
I want to generate unique 6 digit primary key for django models and I want
to generate this for 10 billon users. So guys please could you tell me How
I can do that?
I tried UUID module but it's generating some big numbers.
Thank you
Regards,
Soumen
--
You received this me
Hi Folks,
*Actually I'm extending User table in some other table and this current
table I'm extending soe other table. But this time I want to filter by
using first table username How can i Do that?*
*Example:*
*class FirstTable(models.Model):*
*user_by = models.ForeignKey(user,related_na
r was
declared with a lazy reference to 'profiles.tildehatuser', but app
'profiles' doesn't provide model 'tildehatuser'*
Note: I already added the customized model name in settings.py like
'profiles.ClassName".
Please help me guys regarding this matter but I
Hi Folks,
I'm sending the json data from postman. But Inside my python code when I'm
doing:
Suppose my json data:
*{ "name" : "soumen" }*
*data = request.data*
*print(type(data)) # *
*How it is possible without using serializer, how data converted
automatically
jFc/Django-DRF-Boilerplate-with-otp-verification
>
> On Fri, 10 Jan 2020, 12:35 pm Soumen Khatua,
> wrote:
>
>> Hi Guys,
>> In Django we have some inbuilt class for password rest and confirmation.
>> But In Django rest framework ,How can I do that?
>>
&
Hi Guys,
In Django we have some inbuilt class for password rest and confirmation.
But In Django rest framework ,How can I do that?
Please share any code snippet or link.
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"D
tman as well.
>
> Thanks
>
> On Thu, 9 Jan, 2020, 11:49 PM Soumen Khatua,
> wrote:
>
>> post method is working on browser but I'm getting the error in post man?
>>
>> On Thu, Jan 9, 2020 at 10:27 PM Integr@te System <
>> datacentral...@gmail.com> wrot
guide/authentication/#sessionauthentication
>
> Nice.
>
>
>
>
> On Thu, Jan 9, 2020, 22:25 Soumen Khatua
> wrote:
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
gt;
>> Use try catch and send whatever response you want to send
>>
>> On Wed, 8 Jan 2020, 10:36 pm Soumen Khatua,
>> wrote:
>>
>>>
>>> *seriazlizers.py*
>>>
>>>
>>>
>>>
>>>
>>>
>>&
status.HTTP_200_OK)except User.DoesNotExist:
return Response({"deatils": "user not found"},status =
status.HTTP_404_NOT_FOUND)*
*On Thu, Jan 9, 2020 at 8:42 PM Suraj Thapa FC > wrote:*
> *Code...? *
>
>
> *On Thu, 9 Jan 2020, 8:40 pm Soumen Khatua,
srf_exempt inside APIView(post) request?
If yes, then why it is working some times?
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
tf-8') if you are using python 3
>
> Thanks
>
> On Thu, Jan 9, 2020 at 1:01 PM Soumen Khatua
> wrote:
>
>> Hi Folks,
>>
>> *If I'm sending data into json format like this:*
>>
>> *{ "name":"soumen","passwor
Hi Folks,
*If I'm sending data into json format like this:*
*{ "name":"soumen","password":"@sou123"}*
*but in my python class,If doing something like this:*
*type(request.data.get("name") #<'class Dict'> *
*How it is po
nt to raise validation error that email should
be unique and password should be alphanumeric character in json format?
On Wed, Jan 8, 2020 at 9:44 PM Suraj Thapa FC
wrote:
> For email you can set email field in model as unique=True and the password
> should be stored in hash..
>
>
,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.go
output_string += order[index]
>>
>> print()
>> print(input_string)
>> print(output_string)
>> print()
>>
>>
>>
>>
>> Regards,
>> Chetan Ganji
>> +91-900-483-4183
>> ganji.che...@gmail.com
>> http://ryuco
Hi Folks,
I'm stucking in this problem from 5 hours but still I'm not bale to logic
to solve this problem, Please help me guys to solve this problem:
Example:-
input: h123456ello
output: o123456lleh
input: th34isisast56ring3
output: gn34irtsasi56siht3
Thank you in advance.
regar
lling UserViewSet.
Thank You in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
lso uppercase email is accepted in the login form. The email is always
> saved as lowercase in the database (when the user registered or adds a new
> email address).
>
> אורי
> u...@speedy.net
>
>
> On Sun, Nov 24, 2019 at 7:55 AM Soumen Khatua
> wrote:
>
>>
Hi Folks,
Any have any idea in real time how programmers manage email id as username
only. Because django provide different fields for username and email id. So
how I can overcome to this problem??
Thank you in advance.
Regards,
Soumen
--
You received this message because you are subscribed to
Thank you, It really helps me a lot.
Regards,
Soumen
On Tue, 17 Sep 2019, 12:50 Andréas Kühne,
wrote:
> Hi Soumen,
>
> So let's look at your questions:
> 1. super(UserLoginSerializer, self).__init__(*args, **kwargs) - this means
> that it gets the parent of the UserLoginS
1 - 100 of 179 matches
Mail list logo