Re: Django keep variable in memory, even if i refresh the page

2015-04-16 Thread Silvio Benvegnù
ng the variable on class definition, try doing on > function execution instead > > On Thu, Apr 16, 2015 at 12:43 PM, Silvio Benvegnù <silvio...@gmail.com > > wrote: > >> I'm using Django Framework 1.7 with its webserver. >> >> I have a custom class where I de

Django keep variable in memory, even if i refresh the page

2015-04-16 Thread Silvio Benvegnù
I'm using Django Framework 1.7 with its webserver. I have a custom class where I declare a static variable, a list, where I append some values: class my_class: list = [] def __init__( self, *args, **kwargs ): [...] def append_value(self,value):

Re: Django and Zinnia + DjangoCMS

2014-04-27 Thread Silvio Siefke
ne and Nginx? I think Proxy Pass is to slow, so my feeling. Thank you for help & Nice Day Silvio Silvio Siefke <siefkesil...@gmail.com> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Re: Django and Zinnia + DjangoCMS

2014-04-24 Thread Silvio Siefke
zzanine/ > http://rosslaird.com/blog/customizing-mezzanine/ > http://rodmtech.net/docs/mezzanine/a-mezzanine-tutorial-take-2/ > > For a Bootstrap theme I recommend Bootswatch: http://bootswatch.com/ Thanks i try it :) Thank you for help & Nice Day Silvio -- You received this mes

Re: Django and Zinnia + DjangoCMS

2014-04-24 Thread Silvio Siefke
page. In Mezzanine i found not really this. The settings.py ok i can write in it, but in admin backend i nothing see. Thank you for help & Nice Day Silvio Silvio Siefke <siefkesil...@gmail.com> -- You received this message because you are subscribed to the Google Groups "Django

Re: Django and Zinnia + DjangoCMS

2014-04-24 Thread Silvio Siefke
Hello, On Thu, 24 Apr 2014 08:17:11 -0700 (PDT) Jared Nielsen wrote: > If you're not a programmer, new to Django, and need a CMS, why not > use Mezzanine ? Mezzanine i know but i not so really understand the theming there. > You'll have a

Django and Zinnia + DjangoCMS

2014-04-23 Thread Silvio Siefke
it is off. Turn it on before using 'atomic'." I has googled but when i fix it with 'ATOMIC_REQUESTS': True i become TransactionManagementError at /en/admin/cms/usersettings/ This is forbidden when an 'atomic' block is active. Has someone an advice? Django V. 1.6.3 Django CMS 3 Thank you for

Re: DjangoProject.com community feeds

2013-11-28 Thread Silvio J. Gutierrez
Thanks for the info Russ. If you guys need any help, please let me know. I'd be happy to contribute. - Silvio On Wed, Nov 27, 2013 at 6:44 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > Hi Silvio, > > I've just checked the record for the feed in our database

Re: DjangoProject.com community feeds

2013-11-27 Thread Silvio J. Gutierrez
Could you please confirm the URL that's in the system? That way I can double check that everything works. Much appreciated, Silvio On Tue, Nov 26, 2013 at 6:22 PM, tim <timogra...@gmail.com> wrote: > Your feed was approved on Oct. 14. I'm not sure why your recent entries > have

DjangoProject.com community feeds

2013-11-26 Thread Silvio
Hi there, I used the form here: https://www.djangoproject.com/community/add/blogs/ to add my blog feed a while ago. But it was never added. Does anyone still check those feed submissions? The actual blog: Name: Silvio on Django Feed URL: https://www.silviogutierrez.com/blog/tags/django/feed

Re: Unable to process my form

2011-03-04 Thread Silvio
What does the error say now? Post the traceback. On Mar 4, 2:14 pm, vijay <prvreddy2...@gmail.com> wrote: > Hi Silvio, >              Still i am getting TemplateDoesNotFound error.Please suggest me > > Regards > Vijay > > > > > > > > On Thu,

Re: Unable to process my form

2011-03-03 Thread Silvio
ure to add '/home/prvr/Desktop/ djcode/mysite/' as one of the TEMPLATE_DIRS entries. Hope that helps, Silvio On Mar 3, 8:00 pm, Vijay <prvreddy2...@gmail.com> wrote: > Hi All, >         I am new to django.I am practicing Django using the book "The > Definitive Guide to Djan

Re: Thread safety, transactions and best practices

2010-05-10 Thread Silvio
with a query. Finally, when displaying the number, just output: "%s/%s" % (date, counter) Hope that helps, Silvio On May 8, 2:44 pm, Adrián Ribao <ari...@gmail.com> wrote: > Hello, > > I have a question about transactions and thread safe applications. > > I have an invoice

New Tool: Django Aggregator

2009-05-29 Thread Silvio
the tags provided. It's smart enough to create new aggregates whenever the files change, so there's no need to constantly run a script. This is only the first of many tools I'll be sharing with everyone over time. Let me know what you think, Silvio PS. MIT License

Django 1.0: XML documents in database, view as HTML, download as RTF

2008-10-23 Thread Mirto Silvio Busico
that gives a zipfile containing the tree structure of the magazine and the articles converted in rtf (or ODT) Thanks Mirto -- _ Busico Mirto Silvio Consulente ICT cell. 333 4562651 email [EMAIL PROTECTED

[solved] Re: delete tables

2008-10-17 Thread Mirto Silvio Busico
nagement.call_command('syncdb') > > > > > > > > On Fri, Oct 17, 2008 at 3:41 PM, Mirto Silvio Busico > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > Sorry I was not clear. > > I have some utilities in view.py which have to r

Re: delete tables

2008-10-17 Thread Mirto Silvio Busico
ame; > > Django does not currently have a database schema management tool (with > the exception of syncdb and sql* commands). > > Erik > > > On 17.10.2008, at 15:30, Mirto Silvio Busico wrote: > > >> Hi all, >> >> what is the django way o deleti

delete tables

2008-10-17 Thread Mirto Silvio Busico
Hi all, what is the django way o deleting all table content and resetting the primary key counter? Thanks Mirto -- _ Busico Mirto Silvio Consulente ICT cell. 333 4562651 email [EMAIL PROTECTED

[SOLVED] Re: How to pass a string to a custom filter?

2008-10-15 Thread Mirto Silvio Busico
essages() return render_to_response("ancore/index.html", { 'title' : 'ANCORE','messages' : xxx}, context_instance=RequestContext(request)) In index.html: {{ request.path|dovesono }} Again thanks to all Mirto Daniel Roseman h

Re: How to pass a string to a custom filter?

2008-10-15 Thread Mirto Silvio Busico
oing wrong? Thanks Mirto Malcolm Tredinnick ha scritto: > On Wed, 2008-10-15 at 09:40 +0200, Mirto Silvio Busico wrote: > > >> In the template the line: >> {{ request.path|dovesono }} >> >> passes to the "dovesono" filter a string with le

Re: How to pass a string to a custom filter?

2008-10-15 Thread Mirto Silvio Busico
bruno desthuilliers ha scritto: > On 15 oct, 09:40, Mirto Silvio Busico <[EMAIL PROTECTED]> wrote: > >> Well, a little step ahead: the filter receives an empty string. >> >> In the template the line: >> {{ request.path|dovesono }} >> >> pass

Re: How to pass a string to a custom filter?

2008-10-15 Thread Mirto Silvio Busico
har= 0 isstring=True === Any hint? Thanks Mirto Mirto Silvio Busico ha scritto: > Thanks; but I was not clear. > I'll try to explain: the code is not intended to really create the > breadcrumbs. The code

Re: How to pass a string to a custom filter?

2008-10-14 Thread Mirto Silvio Busico
ected. Any Hint? Thanks Mirto P.S. BTW the urls are different from development framework and production: * runserver: http://localhost:8000/ancore/ * apache: http://localhost/zsite/ancore/ bruno desthuilliers ha scritto: > On 14 oct, 16:34, Mirto Silvio Busico <[EMAIL PROTEC

How to pass a string to a custom filter?

2008-10-14 Thread Mirto Silvio Busico
-- _ Busico Mirto Silvio Consulente ICT cell. 333 4562651 email [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: newbie question about breadcrumbs

2008-10-09 Thread Mirto Silvio Busico
Thanks to all who have replied. I'll try our suggestions Mirto Carl Meyer ha scritto: > Hi Mirto, > > On Oct 9, 9:04 am, Mirto Silvio Busico <[EMAIL PROTECTED]> wrote: > >> I'm confused because the admin app seems unaware of living inside a >> project that is i

newbie question about breadcrumbs

2008-10-09 Thread Mirto Silvio Busico
so the apache site) an a not acrive entry with the page name. So I'm convinced that I have misunderstood all the breadcrumbs matter. Please, someone can give me hits and/or documentation links? Thanks Mirto -- _ Busico Mirto Sil

Re: Dumb question about "Limiting Access to Generic Views"

2008-10-03 Thread Mirto Silvio Busico
ibri(*args, **kwargs): return object_list(*args, **kwargs) @login_required def dettaglio_libri(*args, **kwargs): return object_detail(*args, **kwargs) Regards Mirto Mirto Silvio Busico ha scritto: > Hi all, > I have a dumb question, but any help will be greately appreciated

Dumb question about "Limiting Access to Generic Views"

2008-10-03 Thread Mirto Silvio Busico
red def xxx(*args, **kwargs): return django.views.generic.list_detail.object_list(*args, **kwargs) Really confused. Any hint? Thanks Mirto -- _____ Busico Mirto Silvio Consulente ICT cell. 333 4562651 email [EMAIL PROTECTED] --~--~-~--~~--

Re: Introducing myself and first question

2008-09-17 Thread Mirto Silvio Busico
R. Gorman ha scritto: > Wow, sorry I didn't pick up on all the settings and their effects you > provided - haven't dug into 1.0 myself and the PythonOption > django.root is a new one for 1.0. I looked more thoroughly at your > settings and they all appear correct, you have the root defined in >

Re: Announcing django-todo

2008-09-17 Thread Mirto Silvio Busico
ch of bug fixes and a move of templates into the app dir. Code > review and comments welcome (but I'm a newbie - go easy on me!). > > Hope someone finds it useful. > > Scot > > > > > > -- _ Bu

Re: Introducing myself and first question

2008-09-17 Thread Mirto Silvio Busico
djmsb/accounts/logout/$', logout), >(r'^djmsb/$', 'djmsb.views.indice'), >(r'^djmsb/biblioteca/', include('djmsb.biblioteca.urls')), >(r'^djmsb/admin/doc/', include('django.contrib.admindocs.urls')), >(r'^djmsb/admin/(.*)', admin.site.root), > ) > > R. > > >

Re: Introducing myself and first question

2008-09-16 Thread Mirto Silvio Busico
R. Gorman ha scritto: > On Sep 16, 11:32 am, Mirto Silvio Busico <[EMAIL PROTECTED]> wrote: > > >> DJMSB.VIEWS-- >> >> from django.shortcuts import render_to_response >> fro

Introducing myself and first question

2008-09-16 Thread Mirto Silvio Busico
-- Any help will be grately appreciated. Thanks Mirto -- _ Busico Mirto Silvio Consulente ICT cell. 333 4562651 email [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you