Re: How to resolve the view name from a url

2009-11-24 Thread bcurtu
something like resolve, but not reverse. Thanks On 24 nov, 11:15, rebus_ <r.dav...@gmail.com> wrote: > 2009/11/24 bcurtu <bcu...@gmail.com>: > > > > > Hi, > > > I want to get the url name from a url. For example, having: > > >    url( &g

How to resolve the view name from a url

2009-11-24 Thread bcurtu
Hi, I want to get the url name from a url. For example, having: url( regex = r'^people/$', view= 'people_view', name= 'people_name' ), and @login_required def people_view(request)... _some_code_here... I'm looking for a function that accepts

Re: Django in Linux

2009-04-21 Thread bcurtu
If you use ubuntu, it comes with python2.5. That's even easier. Follow the installation guide: http://docs.djangoproject.com/en/dev/intro/install/#intro-install and the rest of documentation: tutorials... here: http://docs.djangoproject.com/en/dev/ On Apr 21, 9:51 am, galileo

databrowse and group permissions

2009-04-21 Thread bcurtu
Hi, What's the databrowse roadmap? I'm wondering how to restric the access to different users, depending on the Group they belong. I don't want my "plain" users to access to this information, but only some of them and only to some of the models. Any idea?

How to import Hotmail/Messenger contacts...

2009-01-14 Thread bcurtu
Is there any API like gdata or bbauth to authenticated against hotmail servers to be able to read hotmail contacts? thanx. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Delete multiple items from an admin change list

2008-12-20 Thread bcurtu
Thanks, that's it On 19 dic, 18:04, Jeff Kowalczyk <jeff.kowalc...@gmail.com> wrote: > On Dec 19, 6:15 am, bcurtu <bcu...@gmail.com> wrote: > > > Is it possible to get the admin item list with a kind of checkboxes in > > order to select multiple items and dele

Delete multiple items from an admin change list

2008-12-19 Thread bcurtu
Is it possible to get the admin item list with a kind of checkboxes in order to select multiple items and delete them all together? Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

cursors and raw sql

2008-12-04 Thread bcurtu
Hi, i need to perform some Raw SQL queries in my django app. I read in the doc (http://docs.djangoproject.com/en/dev/topics/db/sql/) I can do sth like: def my_custom_sql(self): from django.db import connection cursor = connection.cursor() cursor.execute("SELECT foo FROM bar WHERE

clustering with django recommender

2008-09-27 Thread bcurtu
Hi, Just to announce the new clustering methods in django-recommender: http://code.google.com/p/django-recommender/. So far, it has methods for Collaborative filtering, for Content Based filtering and to cluster users and items, so it's already a complete recommender engine. Cheers

Re: django-recommender 0.2, with content based recs

2008-09-24 Thread bcurtu
meppum, I will use a K-Means clustering. It's easy to use, and it can be executed in background and add new users online. coulix, Yes, the main problem for these algorithms is the preformance and the memory consumption. A cloud architecture may be interesting, but I've never used it. On 24

Re: django-recommender 0.2, with content based recs

2008-09-24 Thread bcurtu
? > > Thanks, > > Rodrigo > > On Sep 24, 11:36 am, bcurtu <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I have just updated my django-recommender to 0.2, including Content > > Based Recommendations using django tagging. > > > Ha

django-recommender 0.2, with content based recs

2008-09-24 Thread bcurtu
Hi, I have just updated my django-recommender to 0.2, including Content Based Recommendations using django tagging. Have a look at http://code.google.com/p/django-recommender/ Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to

django-recommender, a plugable for collective intelligence based recommendations

2008-09-08 Thread bcurtu
Hi, I have just committed my first django pluggable (app), it's a recommendation engine called django-recommender: http://code.google.com/p/django-recommender/ Using this app in combination with django-voting, you can get answers to the following questions: * Which one is the best item for me?

Re: business logic and good practices

2008-05-20 Thread bcurtu
architecture consistency you > > find (or at least I found) when bouncing around in contract gigs for > > larger corps. > > > If it helps, my progression went first from breaking everything up > > into small chunks in lots of files and apps (a la one class per file > >

Re: One-to-One vs direct assignation

2008-05-19 Thread bcurtu
Thanks, really well explained. On 19 mayo, 19:43, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On May 19, 1:29 pm, bcurtu <[EMAIL PROTECTED]> wrote: > > > Thanks Rajesh, > > > The actual question is what the difference is between those 2 > > definiti

Re: One-to-One vs direct assignation

2008-05-19 Thread bcurtu
Thanks Rajesh, The actual question is what the difference is between those 2 definitions, between a OntToOne and an instance relationship? Cheers! On 19 mayo, 16:22, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi, > > On May 18, 12:49 pm, bcurtu <[EMAIL PROTECTED]> wrote: &

One-to-One vs direct assignation

2008-05-18 Thread bcurtu
Hi, What's the difference between: class Other(models.Model): ins=Instrument() class Other2(models.Model): ins=models.OneToOneField(Instrument) How do I define Instrument in order the fist class to be valid? Cheers! --~--~-~--~~~---~--~~ You received

which python version?

2008-05-15 Thread bcurtu
Which python version do you use with your django project? Any special issue with anyone? Cheers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

djangopeople down

2008-05-05 Thread bcurtu
I can not access to djangopeople.net... Have you noticed it? Anyone knows the reason? Technical problems? Traffic, bugs??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

django-tagging doesn't work with qs-ref

2008-05-02 Thread bcurtu
Hi, Have any of you used django-tagging with the new qs-ref? It doesn't work, when I do a manage.py syncdb it yells: ... File "/usr/local/lib/python2.5/site-packages/tagging/managers.py", line 6, in from django.db.models.query import QuerySet, parse_lookup ImportError: cannot import name

Re: ManyToMany error with new queryset refactoring

2008-05-02 Thread bcurtu
Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, May 1, 2008 at 5:13 PM, bcurtu <[EMAIL PROTECTED]> wrote: > > > Thanks, > > > Attributes is just a simple abstract class with some fields. Nothing > > special. > > See, though, I could not recreate any er

Re: ManyToMany error with new queryset refactoring

2008-05-01 Thread bcurtu
n 1 mayo, 22:23, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On May 1, 3:04 pm, bcurtu <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I've just checked out the trunk with new queryset-ref changes! I'm > > suffering the next problem. In my mo

ManyToMany error with new queryset refactoring

2008-05-01 Thread bcurtu
Hi, I've just checked out the trunk with new queryset-ref changes! I'm suffering the next problem. In my model I have a ManyToMany relationship: class Person(Attributes): friends=models.ManyToManyField("self",symmetrical=False) When I do a manage.py syncdb, i get the following

Re: Largest django sites?

2008-04-23 Thread bcurtu
ECTED]> wrote: > On Wed, 2008-04-23 at 02:13 -0700, bcurtu wrote: > > May you enumerate the largest django sites (apart from WSJ)? Do you > > know traffic stats of these sites? I'm building a big site, with > > potentially lots of traffic and I'm a bit afraid what I can expect..

Largest django sites?

2008-04-23 Thread bcurtu
May you enumerate the largest django sites (apart from WSJ)? Do you know traffic stats of these sites? I'm building a big site, with potentially lots of traffic and I'm a bit afraid what I can expect... Thanks --~--~-~--~~~---~--~~ You received this message

2 job positions in Barcelona

2008-04-22 Thread bcurtu
atmosphere. Small team in a fashion and well located offices. * Very good salary Contact to me Bosco Curtu: bcurtu[a-t]gmail[d.o.t]com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Is psyco project alive?

2008-04-20 Thread bcurtu
Is psyco active and alive? Is it compatible with django? What about Pypy? Anyone using any of these jit engines to run Django? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: mod_python error

2008-04-18 Thread bcurtu
I got it! It was my apache config, I have included the path to the root of the project: PythonPath "['/home/bcurtu/ws-python','/home/bcurtu/ws-python/qsm'] + sys.path" Now it works, thanks! On 18 abr, 19:17, "Michael Wieher" <[EMAIL PROTECTED]> wrote: &

Re: mod_python error

2008-04-18 Thread bcurtu
guess the relative path is the question > > i assume ws-python is the directory your main urls file is in > and the recs directly lives in it, with an __init__.py file ? > > On Fri, Apr 18, 2008 at 12:15 PM, bcurtu <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I

mod_python error

2008-04-18 Thread bcurtu
django.core.handlers.modpython PythonPath "['/home/bcurtu/ws-python'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE qsm.settings PythonDebug On Everything looks fine, isn't it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Multiple threads writing on session object

2008-04-18 Thread bcurtu
e & memcached) > access? > > Possibly some caching may be in order in your 'heavy calculations' as well. > > - Shane > > On Fri, Apr 18, 2008 at 8:08 AM, bcurtu <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm running django with database (mysql) based sess

Multiple threads writing on session object

2008-04-18 Thread bcurtu
Hi, I'm running django with database (mysql) based session middleware. When the user logs in, there is a process that have to perform some heavy calculations. In order not to block the response, what i do is opening several threads: if not 'f1' in request.session:

Social web engine in django?

2008-04-09 Thread bcurtu
Can you point me to a reusable social web project code? I have to create my own social web, and don't want to re invent the wheel. The features i need to implement are Personal profile, friends network, uploading photos and video, streamming video... Any idea? thanx

Rich text editor in Admin tool

2008-04-04 Thread bcurtu
Is it possible to configure the Admin Interface to use a Rich text editor to edit texts and add fomatted content? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

scaffold with Django

2008-02-25 Thread bcurtu
Is there any kind of utility for automatic scaffolding? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from