Which kind of model inheritance is most suited?

2008-04-29 Thread francesco
by with an abstract inheritance where no table is created for the user? Thanks Francesco --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

django-tagging or search engine?

2008-05-01 Thread francesco
in that case, the same or similar functionalities to those offered by the such application? Any suggestion or point of view will be very appreciated Francesco --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

Re: django-tagging or search engine?

2008-05-01 Thread francesco
uot;), can I specify to give more importance (or a higher weight) to the tags field than to the description field when calculating the scores? Thanks again Francesco On May 2, 6:30 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 2 май, 05:40, Eric <[EMAIL PROTECTED

fixtures loading post qs-rf

2008-05-05 Thread francesco
lable pk rather than the specified one. Is there something I should take into account when loading fixtures for a model that inherits from another model? Is it ok to specify all the data (for the base and derived model) directly in the derived model? Any help would be very appreciated. Thanks Fran

Best way to create a form wizard

2020-04-18 Thread Francesco
way to do this? There is a good tutorial/book, possibly with a working example? (I am pretty new with Python and Django, and I need good resource) 2. Do I have to creare a single model with all data, or can I manage a model for each page? Thank you very much! Francesco -- You rec

pass to a template many querysets

2009-12-21 Thread Francesco Benincasa
how?) or I can also pass two or three different querysets? Thank you very much. -- | Francesco Benincasa - http://ciccio2000.altervista.org/ | EcoSCIENZE Societa' Cooperativa - http://www.ecoscienze.org/ | Ingegneria Senza Frontiere Bologna - http://isf.ing.unibo.it/ | Bologna Free S

Re: pass to a template many querysets

2009-12-22 Thread Francesco Benincasa
published=True).order_by('-pub_date')[:limit], 'latest_pages': pages_models.Meta.objects.filter(is_published=True).order_by('-pub_date')[:limit], } } But, while the objects passed as 'queryset' are calculated dinamically,

Re: pass to a template many querysets

2009-12-22 Thread Francesco Benincasa
plate. Mmm, I've done it but it's the same. Any other suggestions? Thank you very much. -- | Francesco Benincasa - http://ciccio2000.altervista.org/ | EcoSCIENZE Societa' Cooperativa - http://www.ecoscienze.org/ | Ingegneria Senza Frontiere Bologna - http://isf.ing.unibo.

Re: pass to a template many querysets

2009-12-22 Thread Francesco Benincasa
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', ) And finally, I pass to archive_index just the dictionary index_args that I posted. Thanks a lo

Re: pass to a template many querysets

2009-12-22 Thread Francesco Benincasa
Just a thing to add: as I wrote, only objects passed through the "extra_context" parameter are not updated dinamically. The objects passed in the "queryset" are correctly updated. Thank you very much. * martedì 22 dicembre 2009, alle 15:00, Francesco Benincasa scrive: >

Re: pass to a template many querysets

2009-12-22 Thread Francesco Benincasa
ny callable (i.e., a function) that’s passed to extra_context will be evaluated when the view is rendered (instead of only once). You could do this with an explicitly defined function:" and it works!!! So, I hope this can help other people. And thanks to whom answered me. -- | Franc

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-07 Thread Francesco Serafini
Hi Elena, Thanks for your replies. Sorry, but in the end I started a new installation without virtualenv because I was curious about django and I didn't want to wait. When I will use again virtualenv (I know I'll do) I'll try again to do my best. Thanks for you help, really! Fran

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-08 Thread Francesco Serafini
Elena Williams > Francesco and Daniel, > > This is an interesting problem with the tutorial! We will have to make > sure that it's changed -- obviously the tutorial needs to be clearer! > > Any suggestions you guys have about how/where we could insert some > information that

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-09 Thread Francesco Serafini
I am sure I activated the environment but nothing. In my case I guess I had some problem with the PATH variable.. 2012/11/9 Dan Gentry > Quick note: when using virutalenv on Windows, one runs the activate script > to use the environment. \Scripts\activate.bat > > Same function as the source co

Web hosting control panel for Django projects

2013-02-25 Thread Francesco Facconi
any project that helps me to configure via web a Django web service. Currently on my servers I am using ISPConfig, but I have to edit files in /etc/apache2/sites-available manually using a root account, and it is not safe. Does anybody knows a possible solution? Thank you, Francesco -- You

[ANN] Django Endless Pagination v2.0

2013-02-28 Thread Francesco Banconi
Hi all, I just released Endless Pagination v2.0: Django pagination tools supporting Ajax, multiple and lazy pagination, Twitter-style and Digg-style pagination. New features include Python 3 support, Javascript improvements, code clean up and many other bug fixes and changes. If you are interest

postgresql/operations.py @ 235 leaking memory

2020-04-01 Thread Francesco Meli
Hello, I have posted a well detailed issue here on StackOverflow (it can be improved if asked): https://stackoverflow.com/questions/60972577/django-postgres-memory-leak - I have a custom command that crunches jobs coming from a Postgresql table jobs. - Since the command is mult

Django aws deployment doesn't work, please help

2023-06-04 Thread Francesco Gariboldi
Hi I developed a simple personal blog with Django and Nginx as a reverse proxy server and want to deploy It with AWS in the most cost effettive way. Which Is It? And I don't understand the ports flow between localhost, Django (uwsgi+gunicorn), Nginx, docker (compose), postgrSQL and AWS RDS...ca

Re: problem with django tagging application

2008-02-21 Thread Francesco Davide Calabrese
em.object_id" > > Do you have any idea of why I'm getting this error and how I could > solve the problem? > For completeness in dpaste is the complete traceback I get: > http://dpaste.com/36177/ > > Any help would be very appreciated. > > Thanks > Francesco &