Computer Science, asked by negiji, 10 days ago


from django.db import models

class login(models.Model):

class Meta:
verbose_name = ("login")
verbose_name_plural = ("logins")

def _str_(self):
return self.name

def get_absolute_url(self):
return reverse("login_detail", kwargs={"pk": self.pk})


Can some one please explain the uses of meta, str, and get_absolute

Answers

Answered by rajatchandra267
0

Make sure that all words are spelled correctly.

Try different keywords.

Try more general keywords.

Try fewer keywords.

Similar questions