[CentOS] django not picking up template change on CentOS

Daniel J Walsh dwalsh at redhat.com
Thu Sep 13 11:35:53 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/12/2012 11:52 AM, Larry Martell wrote:
> Don't know if anyone here can help me or not, but here's my problem:
> 
> I have a django app. I develop on a Mac, but it's deployed on CentOS. I've
> been doing it like this for a long time with no issues. Today I changed a
> template on my Mac, and the change was picked up, no problem. I checked my
> change into git, went to a CentOS box, pulled the change down, but django
> is not picking it up. I've tried everything I can think of - bounced the
> server, restarted the browser, cleared the cache and cookies, tried 3
> different browsers, deleted it, re-pulled from git, but when I look at the
> code in the debugger, it's clearly using the old template. There are no
> errors in the apache log, and permissions are fine. One thing I see is that
> is different is that the dir that has the new template, has no SELinux
> security context set, whereas all the other dirs do. But SELinux is
> disabled on this box, so that's probably not it. I've been trying to set
> the SELinux security context on that dir, just so it's like the others, but
> I haven't been able to figure out how to do that - I don't know what to 
> pass to chcon.
> 
> I'm tearing my hair out here. Anyone have any ideas as to what's preventing
> it from picking up the new template, or what I can check to figure out
> what's going on?
> 
> Thanks! -larry _______________________________________________ CentOS
> mailing list CentOS at centos.org 
> http://lists.centos.org/mailman/listinfo/centos
> 
If SELinux is disabled, then it is not the problem.  Changing the label on a
file will have no effect.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBR/VkACgkQrlYvE4MpobP6XwCgy4vZ/JBNcXp5cPyfIHjX+6kI
bf4An2DK6fDjazO6JPGq+/sEBccpazjV
=F1mL
-----END PGP SIGNATURE-----


More information about the CentOS mailing list