Not clear what are you referring with services.py. I know boto3 and django-storages. But how to configure it is the question.
For boto3 there is a settings.py variable AWS_S3_OBJECT_PARAMETERS through that we could set expiration. Just wanted to make sure that how do we set different expiration for each object uploaded? Regards Britto On Sat, 4 May 2019 at 16:24, Hardipinder Singh <[email protected]> wrote: > Hey Britto, > > Check boto3 for this. Django can be used to check data using services.py. > > Hope this helps > > Thanks & Regards > Hardipinder Singh > > On 04-May-2019, at 13:39, Britto . <[email protected]> wrote: > > Hello All, > > How could we set S3 life-cycle expiration for a file from Django when > uploading to S3 back-end? > > > Regards > Britto > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAF0v3b5_0x4VfCSz9qaCkhGspPkfGyaR%3DgcdR1owbMTMWMqWBQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAF0v3b5_0x4VfCSz9qaCkhGspPkfGyaR%3DgcdR1owbMTMWMqWBQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/D545031E-195C-44F3-8C19-802E0DA93A41%40gmail.com > <https://groups.google.com/d/msgid/django-users/D545031E-195C-44F3-8C19-802E0DA93A41%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF0v3b7Br0YaDbTgkbYgiRT4pSKENe5iApUtm_tU8HsEQ5jLKg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

