Django template cheat sheet or ebook

2018-07-29 Thread aditya gupta
Can anyone tell me where I can find Django template cheat sheet or ebook. -- 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.c

display my images available in one class using another class in webpage

2018-07-22 Thread aditya gupta
My Code : class Gallery(models.Model): GameName=models.CharField(max_length=40) D_text=models.CharField(max_length=50) Gime=models.ImageField(upload_to='media/',null=True,blank=True) class Assassin(models.Model): Gimage=models.ImageField(upload_to='media/assassin',null=True,blank=Tr

display my images available in one class using another class in webpage

2018-07-21 Thread aditya gupta
my Code : class Gallery(models.Model): GameName=models.CharField(max_length=40) D_text=models.CharField(max_length=50) Gime=models.ImageField(upload_to='media/',null=True,blank=True) class Assassin(models.Model): Gimage=models.ImageField(upload_to='media/assassin',null=True,blank=T

Re: Is it possible to create models inside a database model

2018-07-10 Thread aditya gupta
Well I was thinking is that instead of using related_name is there any other way I can write and call my images inside css lightbox for the slide show. On Wed, Jul 11, 2018, 12:42 AM Alexander Joseph < alexander.v.jos...@gmail.com> wrote: > Oh ok I see. The related_name is what you use to access