help to deal with registration on the site (Django) through VKontakte. As I understand it, you first need to get information about the user through api vk (first name, last name, id, email, etc.). What to do next with this data? Use them to create a user in the django database?

user = User.objects.create_user ('foo', password = 'bar')

But where to get the password and what to use as a name?

1 answer 1

It is best to start with a new model, where you will store additional data (profile id at least) and OneToOne on User. Then you will need to make your own page for registration, where the user will be redirected, and where the data from the profile will be inserted. And there you enable the user to write a login and password. This is most convenient for users. Well, then you can configure the login to your account on your site via VC. Here you can see how this is done.