skip to Main Content

raw postgresql query in django

Please help me with raw postgresql query: given models.py: from django.db import models class Menu(models.Model): name = models.CharField(max_length=255) menu_url = models.CharField(max_length=255) def __str__(self): return self.name class MenuEntry(models.Model): menu = models.ForeignKey("menu", null=True, blank=True, on_delete=models.CASCADE) parent = models.ForeignKey("menuentry", null=True, blank=True, on_delete=models.CASCADE) text…

VIEW QUESTION
Back To Top
Search