Re: Any way to force Django to commit a write so another process can read the correct data from DB?

2016-07-28 Thread epoolanny32
On Wednesday, July 27, 2016 at 10:27:34 AM UTC-4, Stodge wrote: > > My website uses a combination of Django + Java apps to function. For this > particular problem, a record is deleted from the DB via a TastyPie resource > DELETE operation. A Django signal post_delete handleris invoked, which

Re: Any way to force Django to commit a write so another process can read the correct data from DB?

2016-07-28 Thread Constantine Covtushenko
Hi Mike, It is not a bug. It is just how it works. Regards On Thu, Jul 28, 2016 at 3:53 AM, Mike Dewhirst wrote: > On 28/07/2016 5:46 AM, Constantine Covtushenko wrote: > >> Hi Stodge, >> >> As said in Django current version of documentation >>

Re: Installation

2016-07-28 Thread Luis Zárate
Take a look this http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor El miércoles, 27 de julio de 2016, Sergiy Khohlov escribió: > Take a look at https://jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/ this is perfect

Re: How to add logo to django header

2016-07-28 Thread ludovic coues
You are suggesting to alter the django library directly. This as two immediate bad effect. First, it make upgrading to newer and more secure version of django harder as the change will be overwritten by the upgrade. Second, if you want to keep your track of your change, using git for exemple,

Re: How to add logo to django header

2016-07-28 Thread Volodymyr Kirichinets
If You want to change background of the header, Try this open : /you/path/to/python2.7/site-packages/django/contrib/admin/static/admin/css/base.css add h1 { . background:url("path/to/you/static/images/youlogo.png"); } -- You received

Re: How to add logo to django header

2016-07-28 Thread Volodymyr Kirichinets
This if You want to change icon. -- 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.com. To post to this group, send email to

Re: How to add logo to django header

2016-07-28 Thread Volodymyr Kirichinets
Hi, open /your/path/to/python2.7/site-packages/django/contrib/admin/templates/admin/base.html file add to top of file : And You get a logo! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: How to add logo to django header

2016-07-28 Thread Siddharth Ghumre
Hi, Please follow the documentation on https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#overriding-vs-replacing-an-admin-template The file you are looking for is base_site.html which you need to override to change the default 'Django Administrator' heading to your company logo. Hope

Re: How to add logo to django header

2016-07-28 Thread Constantine Covtushenko
Hi Gauri, One of approach is would be to override admin base template used as a parent for all admin pages. Please see that documentation link about how to do that. Regards, On Thu, Jul 28, 2016 at 9:04 AM,

How to add logo to django header

2016-07-28 Thread Gauri Shirsath
Hi, I want to show company logo instead of 'Django Administrator' heading. Can someone please guide me. Regards, Gauri -- 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