Answer the question
In order to leave comments, you need to log in
Show CBV + Ajax Django example?
Good afternoon.
Does anyone have an example of class-based view + ajax? preferably, which was written by you, and not from the Internet.
I have, for example, such a model when registering a user.
class VendorProfile(models.Model):
user = models.OneToOneField(User)
org_name = models.CharField(max_length=50,blank=True)
slug = models.SlugField(unique=True)
city = models.CharField(max_length=30)
description = models.TextField(blank=True)
....
kind_activity = models.ForeignKey(Activity)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question