Showing old data

28 views
Skip to first unread message

Swetank Subham Roy

unread,
Apr 2, 2019, 3:12:52 AM4/2/19
to django...@googlegroups.com
Hello folks,
I have created a hosted a django web app on apache2 using mod_wsgi, the content should automatically refresh everyday. But it is not getting refreshed automatically. I need to manually restart or reload the apache in order to make the changes reflect. I don't want to set cron to restart apache every single day.

Kindly help me out.

Larry Martell

unread,
Apr 2, 2019, 1:34:16 PM4/2/19
to django...@googlegroups.com
What do you have that would make the content automatically refresh
every day? When I need something like this I do this:

<script type="text/javascript">
window.setTimeout(function () {
window.location.reload(1);
}, 60000); // refresh after 60 seconds.
</script>

Soumen Khatua

unread,
Apr 2, 2019, 9:13:03 PM4/2/19
to django...@googlegroups.com
Hi folks, 
I want to remove username field from django.contrib.auth.User please tell me, how I can do that and also set email address as a username in inbuilt login form??? 


Thank you. 

Guru Murthy

unread,
Apr 3, 2019, 3:59:44 AM4/3/19
to django...@googlegroups.com
Hi Suman khatua,
   You can remove the username from admin authentication system 

אורי

unread,
Apr 3, 2019, 4:48:26 AM4/3/19
to django...@googlegroups.com

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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/CAPUw6WZY-1Viu0gmgU4yuKZ6kt77oQP_4bQRJ3YE7N5WGS5Qfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Soumen Khatua

unread,
Apr 3, 2019, 11:33:26 AM4/3/19
to django...@googlegroups.com
Can you send me the code link, please I'm struggling to find it or solve it.
Please help.
Thank you for your time. 

On Wed, 3 Apr 2019, 09:28 Guru Murthy, <gurumur...@gmail.com> wrote:
Hi Suman khatua,
   You can remove the username from admin authentication system 

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages