I've solved this problem by removing all .pyc files in all the folders. 
Here is the official answer to my question that worked on stackoverflow: 
http://stackoverflow.com/questions/12578602/django-project-and-svn-loads-older-code-versions

On Tuesday, 25 September 2012 16:50:37 UTC+2, Joris wrote:
>
> The reason why you are seeing this behaviour is because apache caches the 
> compiled python scripts. As apache has multiple threads, some still carry 
> old information, and some new. As HTTP is stateless, this is why you get 
> inconsistent behaviour. The situation is resolved by either reloading 
> apache or by using the testing server. The behaviour you describe cannot be 
> a result of SVN, as SVN is not affected upon refresh. 
>
> jb
>
> Op dinsdag 25 september 2012 14:19:04 UTC+2 schreef Leo het volgende:
>>
>> Let me understand: you commit code to a SVN repository and put in in 
>> production? Did you restart Apache?
>>
>> Leo
>>
>> 2012/9/25 Gjorge Karakabakov <gorg...@gmail.com>
>>
>>> I can't explain it but Django + SVN for code version control loads older 
>>> buggy versions of files every time i hit refresh on the web site i'm 
>>> working on.
>>>
>>> So if I changed something in a file 2 days ago (made lots of commits 
>>> since then) it will show up now. Next time I hit refresh another change 1 
>>> day ago appears.
>>>
>>> I'm using: Django 1.4, Apache, SVN
>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msg/django-users/-/4UNbERN1NxoJ.
>>> To post to this group, send email to django...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> django-users...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>
>>
>> -- 
>> Leonardo Giordani
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/rPB1DtHDiGQJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to