The number doesn't really matter. It's supposed to stay the same until a static file's content changes, then it should be changed in order to prevent the browser cache to display the wrong file contents.
So it can be 2.7.3 or 19283773.39393.3939393, doesn't matter. How are you using apache? With mod_wsgi? How exactly? That's what you'll need to adjust if the admin doesn't work for you with response.static_version enabled. Regards On Monday, November 4, 2013 1:53:46 PM UTC+1, Johann Spies wrote: > > On 31 October 2013 19:00, Niphlod <nip...@gmail.com <javascript:>> wrote: > >> it's not a forgotten piece of code....it's there for a reason. >> > > What is the version referring to in admin/0.py/? It if it supposed to be > the current web2py version then it is a piece of forgotten code because in > Web2py 2.7.4. it 0.py has 2.7.3 in line 48. > > I have modified that file to response.static_version = '2.7.4' > but the problem still stays the same: > > e.g. /admin/static/_2.7.4/js/calendar.js > > And the documentation says that it is not necessary to create a different > directory for the current version. > > So either I am understanding nothing of this, or this is a mistake in the > documentation or the documentation is not clear. > > Anyhow it is frustrating. > > I am going to comment that line. > > What other way is there of solving this problem? > > Regards > Johann > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.