K
K
Kamo Petrosyan2016-11-05 09:15:01
Django
Kamo Petrosyan, 2016-11-05 09:15:01

Delayed publishing django. How to implement?

Suppose there is a publication model

class Publication(models.Model):
    '''
    ..............................
    '''
    publish = models.BooleanField(default=False)
    publication_datetime = models.DateTimeField()

You can bind this action to the crown. Let's say python managa.py check_post_publication_command
But are there any ready-made solutions?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question