Re: What is the work of instance & filename which is passing as parameter?

2021-09-03 Thread Sky Lord
So right here what does the filename changes to? On Fri, Sep 3, 2021, 1:25 PM Tanjina Sharmin wrote: > def path_and_renamecsv(instance, filename): > upload_to = 'attendancesheet' > ext = filename.split('.')[-1] > # get filename > if instance.pk: > filename = '{}.{}'.format(instance.pk, ext) > el

Re: Django WhatsApp Group

2021-07-29 Thread Sky Lord
https://chat.whatsapp.com/FbJxWDIvcsmFdK8mSqXjS0 On Thu, Jul 29, 2021, 2:06 PM Ogara Dennis wrote: > Hello Friends > > -- > 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 a

Re: Please remove me from this user group.

2021-07-29 Thread Sky Lord
Just click on the unsubscribe button On Tue, Jul 27, 2021, 3:16 AM Shirley Nelson wrote: > Please remove me from this user group. Thank you. > > Regards, Shirley Nelson > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe fro

New members..***..

2021-04-20 Thread Sky Lord
Hello On Tue, Apr 20, 2021, 6:07 AM Israr Hussain Rao < israrhussainrao5...@gmail.com> wrote: > use this library and make a folder in your application django.mo and > django.po > django.utils.translation import ugettext > > use this template tag {% trans 'text need to be translate '%} > > > > >

Re: new python dev jobs (was: Try to connect Redis Channel in Django Chat Project)

2021-04-09 Thread Sky Lord
Any YouTube channel to follow up? On Fri, Apr 9, 2021, 8:36 PM Ryan Nowakowski wrote: > Hey Hemanth, > > Welcome to python! Just a note... it's considered bad form to hijack an > existing mailing list thread and change the topic[1]. You should instead > send a brand new email (don't hit the re

Re: I've a issue in django.

2021-04-06 Thread Sky Lord
Hello guys who gonna teach me Django from scratch?? On Mon, Apr 5, 2021, 2:57 PM Abdulfarid Olakunle wrote: > What's it...let me see if I can help > > On Sun, Apr 4, 2021, 15:57 lite book wrote: > >> I've a issue in Django can anyone help me. >> >> https://stackoverflow.com/questions/66938372/w

Re: Class Base View Foreign key

2021-02-28 Thread Sky Lord
What's that, am new please On Sat, Feb 27, 2021, 4:47 PM Rob Wilkinson wrote: > This is what my code looks like and it now works : > > see where it says "example of setting pk..." below: > > def dyn_menu_new(request): > > from .models import menu as menuX > > from .models import buttons

Re: template is not visible properliy

2021-02-28 Thread Sky Lord
Hello am new noob, anyone guide or take me as student? On Sun, Feb 28, 2021, 6:02 AM Mr. X Offencer wrote: > Bro show me your file structure. > > On Sun, 28 Feb 2021, 02:56 Kasper Laudrup, wrote: > >> On 27/02/2021 12.19, Mayursinh Raulji wrote: >> >i have download template from google and