Cache for individualt request.user???
i don't know if the cache work for views with the content dependent from user... example. @login_required def webapp(request): grupos = Grupo.objects.filter(usuarios = request.user).order_by('grupo') return render_to_response('accounting/webapp.html',{'grupos':grupos},RequestContext
plugins django-apps in sidebar with eval()
i want made a plugin sistem for one CMS my idea is: #plugin def plugin (): do somting return render_to_string('plugin.html',{}) and one database whit plugins method name "Plugin_sidebar" #view def home(request): ps = Plugin_sidebar.objects.all() return render_to_response('ho
Re: Looking for Django IDE
komodo edit http://www.activestate.com/komodo-edit El domingo 1 de abril de 2012 13:30:03 UTC-5, mark escribió: > > What IDE do you use/recommend for developing django web sites? Or, if not > an IDE, what editor/setup is most useful? I am developing on Linux version > 3.1.0-1-amd64 (Debian
how to make template for startapp and startproyect?
hello.. i wish make my templates for django-admin.py startproyect and startapp but i dont know how, and i dont find documentation to explain how to make it (i find documentation from how to use, but not how to make) THX! -- You received this message because you are subscribed to the Googl
tornado server in production
now whit django 1.4 is beary easy to run tornado server. import os import tornado.httpserver import tornado.ioloop import tornado.wsgi import sys import django.core.handlers.wsgi #sys.path.append('/home/lawgon/') # path to your project ( if you have it in another dir). def main(): os.environ
django database cache for longtime?
i need cache a page where i'm process a lot information and i dont wish process again and i dont wish keep in memory RAM, (maybe nobody ever review) so i wish put this page in a database cache but what can i do for never expire? -- You received this message because you are subscribed to the
i save text with html in djanfo admin and when out its ilegible
... example.. y sabe this in django admin in a thextfield bla bla bla bla bla more bla bla bla and in my page... showbla bla bla bla
is very annoying... and i dont know who to fix it... -- You received this message because you are subscribed to the Goog
more bla bla bla bla
Re: i save text with html in djanfo admin and when out its ilegible
no... autoescape on dont work forceescape dont work =/ autoescape off dont work =/ example {% autoescape on %} {{grup.grupo}} {% endautoescape %} On 4 jul, 06:47, Kenneth Gonsalves wrote: > On Mon, 2011-07-04 at 04:02 -0700, Kase wrote: > > and i dont know w
Re: i save text with html in djanfo admin and when out its ilegible
Works!! thx but i dont like put ever {% autoescape off %} On 4 jul, 07:08, Kenneth Gonsalves wrote: > On Mon, 2011-07-04 at 05:06 -0700, Kase wrote: > > example > > {% autoescape on %} > > {{grup.grupo}} > > {% endautoescape %
Re: i save text with html in djanfo admin and when out its ilegible
Pardini wrote: > 2011/7/4 Kase > > > Works!! thx > > > but i dont like put ever > > > > i dont think its right save html tag in database unless its a blog like > webpage,,, > > my opinion -- You received this message because you are subs
I need to do reports, and I would like reports that are integrated with django admin.
I have no problem to make my pages with reports of objects, but I like that are integrated with django admin, in the same tuple in the object list. i dont know if exist extention, but one of these reports is complex = / I have an object, insurance, customer, policy, policy_year and a i need a r
delete unnecessarily fields =D
I need to lower the amount of files on my server becouse is a shared server. so I wonder if I can delete the folder that uses django during instalaccion (where the setup.py) and I also wonder if I can delete the language files that do not use, and where I can find -- You received this message be
Re: delete unnecessarily fields =D
you seriously need a > new hosting provider. > > On Thu, Jul 7, 2011 at 4:18 AM, Kase wrote: > > I need to lower the amount of files on my server becouse is a shared > > server. > > > so I wonder if I can delete the folder that uses django during > > insta
blog breack after 10 post x__x
realy i dont know how to expres this.. i need this (is a blog app) 1) post 2)post 3)post ... 10)post page 1,2,3,4,5,6,7,8.last when clic 2 list of post are 11)post 12)post 20)post django have somthing to do this in the easiest my code is the (obius) {%for x in post%} {{x.title}
No modelue name localeurl ( ">_<)
i try internationalization whittransmeta, localeurl and rosette transmetta and rosette works ok all put in path /usr/local/pytho27/site-pakage but localeurl dont work! manage.py runserver trowError: No module named localeurl =/ -- You received this message because you are subsc
Re: No modelue name localeurl ( ">_<)
oh, im estupid, i put the rosetta and transmeta in my site path but not localeurl... but, i like to put in a generic path and not duplicate in every proyect =/ On 31 jul, 03:43, Kase wrote: > i try internationalization whit transmeta, localeurl and rosette > > transmetta an