Re: about url tag

2011-03-31 Thread Lic . José M . Rodriguez Bacallao
ok, thanks everyone 2011/3/31 Łukasz Rekucki : > On 31 March 2011 18:50, Lic. José M. Rodriguez Bacallao > wrote: >> well, I don't know if this is ok, but I solved the problem adding a >> name='help_subject' tu the urlconf line > > Sorry, I couldn't an

Re: about url tag

2011-03-31 Thread Lic . José M . Rodriguez Bacallao
well, I don't know if this is ok, but I solved the problem adding a name='help_subject' tu the urlconf line On Thu, Mar 31, 2011 at 12:37 PM, Lic. José M. Rodriguez Bacallao wrote: > sorry, I have atypo in the previous code, this is the las line: > > (r'(?P[0-9A-Z

Re: about url tag

2011-03-31 Thread Lic . José M . Rodriguez Bacallao
sorry, I have atypo in the previous code, this is the las line: (r'(?P[0-9A-Za-z-]+)', HelpSubject.as_view()), On Thu, Mar 31, 2011 at 12:36 PM, Lic. José M. Rodriguez Bacallao wrote: > I am getting a this error: > TemplateSyntaxError at /help/ > > Caught NoReverseMatch wh

Re: about url tag

2011-03-31 Thread Lic . José M . Rodriguez Bacallao
I am getting a this error: TemplateSyntaxError at /help/ Caught NoReverseMatch while rendering: Reverse for 'apps.help.views.HelpSubject.as_view()' with arguments '()' and keyword arguments '{'slug': u'gdsgdgdg'}' not found. On Thu, Mar 31,

Re: about url tag

2011-03-31 Thread Lic . José M . Rodriguez Bacallao
elpSubject.objects.filter(published=True) and here is the two lines in url.py and apps/help/url.py url.py: (r'^help/', include('help.urls')), apps/help/url.py: (r'(?P[0-9A-Za-z-]+)', help.HelpSubject.as_view, 2011/3/31 Łukasz Rekucki : > On 31 March 2011 17:16, L

about url tag

2011-03-31 Thread Lic . José M . Rodriguez Bacallao
hi folks, I was using django 1.2.5 and generic views to some simple things, now, I upgrade to django 1.3 and I am trying to use the tag: url but it doesn't seems to work with django class based generic views. How to use this tag correctly? -- Lic. José M. Rodriguez Bacallao Centro de Biof

Re: Failed to build documentation (solved)

2011-03-24 Thread Lic . José M . Rodriguez Bacallao
so, no one? On Thu, Mar 24, 2011 at 11:42 AM, Lic. José M. Rodriguez Bacallao wrote: > hey, I am using ubuntu 10.10, do I really need to update Sphinx to > build documentation? > > On Thu, Mar 10, 2011 at 3:51 AM, Thomas Guettler wrote: >> Hi, >> >> the problem is

Re: Failed to build documentation (solved)

2011-03-24 Thread Lic . José M . Rodriguez Bacallao
Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. &g

xml-rpc

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
is possible tu run xml-rpc code from django_xmlrpc project through django test server (python manage.py runserver)? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no

Re: about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
; > -james > > On Mon, Nov 1, 2010 at 2:19 PM, Lic. José M. Rodriguez Bacallao > wrote: >> with webdav can I uploading a file, interrupt it the then resume the >> upload again starting from an offset of the previously uploading file >> ? >> >> On Mon, Nov 1,

Re: about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
with webdav can I uploading a file, interrupt it the then resume the upload again starting from an offset of the previously uploading file ? On Mon, Nov 1, 2010 at 1:54 PM, James wrote: > WebDav will not work for you? > -james > > On Mon, Nov 1, 2010 at 1:37 PM, Lic. José M. Rodrig

Re: about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
> http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=http+upload+resume > Please make sure you make reasonable attempt to find the answer yourself on > Google, otherwise the boards get filled with copy pasta. > On Mon, Nov 1, 2010 at 6:30 PM, Lic. José M. Rodriguez Bacallao > wro

about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
hi folks, I need to develop an application for uploading big files but one requirement is that I must be able to resume a partially uploaded file. How can I achieve this with django, any ideas? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica

about site price

2010-10-20 Thread Lic . José M . Rodriguez Bacallao
like this? PS: sorry for my English, it's not so good. -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue

Re: webcam in a web page

2009-08-21 Thread Lic . José M . Rodriguez Bacallao
let's see those options!!! On Fri, Aug 21, 2009 at 8:26 AM, Sid wrote: > > look at justin.tv as well. I think you can embed your live feed, onto > a webpage. > > -Sid > > > > > -- Lic. José M. Rodriguez

webcam in a web page

2009-08-20 Thread Lic . José M . Rodriguez Bacallao
hi folks, I need to show a live web cam in my site, does anyone know how to do that? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo

Re: about a web site

2009-07-30 Thread Lic . José M . Rodriguez Bacallao
second one, any advice? On 7/17/09, Diego Eduardo Ahumada - SICO S.I. S.A. wrote: > > 2009/7/17 Michael : >> On Fri, Jul 17, 2009 at 1:30 PM, Lic. José M. Rodriguez Bacallao >> wrote: >>> >>> anyone? >>> >>> >>> On 7/17/09, Lic. Jo

Re: about a web site

2009-07-17 Thread Lic . José M . Rodriguez Bacallao
anyone? On 7/17/09, Lic. José M. Rodriguez Bacallao wrote: > hi folks, it's be a long time without writing to the list but now I'm > back with a simple question, I need to know how much can cost to make > a site like this: www.juegon.com > > -- > Lic. José M. Ro

about a web site

2009-07-17 Thread Lic . José M . Rodriguez Bacallao
hi folks, it's be a long time without writing to the list but now I'm back with a simple question, I need to know how much can cost to make a site like this: www.juegon.com -- Lic. José M. Rodriguez Bacallao Centro de Biofis

resizing an image

2008-02-08 Thread Lic. José M. Rodriguez Bacallao
the image (an element in general) size. I tried the "element.style.width" but it return an string which I can't convert to an integer (500px for example, I just want 500). Any sugestions? -- Lic. José M. Rodriguez Bacallao Cupet

about dpaste

2008-01-17 Thread Lic. José M. Rodriguez Bacallao
Hi folks, I need to know how can I search, explore for codes in http://dpaste.com/ I really can't figure out how. -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoram

about dbpaste

2008-01-17 Thread Lic. José M. Rodriguez Bacallao
Hi folks, I need to know how can I search, explore for codes in http://dpaste.com/ I really can't figure out how. -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoram

Re: how to create new variable in html file in template

2008-01-09 Thread Lic. José M. Rodriguez Bacallao
Peter is right, use the last snippet just if you feel the need. On Jan 9, 2008 11:07 AM, Peter Rowell <[EMAIL PROTECTED]> wrote: > > On Jan 9, 12:20 am, Gaojiawang <[EMAIL PROTECTED]> wrote: > > I want to use the local variable in template's html file. > > like 'count = 0' and how to use it > > Ho

Re: how to create new variable in html file in template

2008-01-09 Thread Lic. José M. Rodriguez Bacallao
I had just made a template tag to do exactly what you are looking for: "assign a variable or make a variable in a template", here is the link to see the code in djangosnippets: http://www.djangosnippets.org/snippets/539/ I hope this will help. On Jan 9, 2008 6:04 AM, [EMAIL PROTECTED] <[EMAIL PR

tags and related objects

2007-12-24 Thread Lic. José M. Rodriguez Bacallao
suppose I have a set of NewsEntry instances which all has tags. How can I get for a NewsEntry instance all related NewsEntry objects based on its tags in a feasible way? I'm using tagging app from google code. -- Lic. José M. Rodriguez Bacallao

Re: about tagging app and tags cloud

2007-12-12 Thread Lic. José M. Rodriguez Bacallao
ok, it fix the problem of the font_size attr but the distribution of values is too spaced. For example, if I got two tags: politics, linux. the count for those tags are: politics: 6 linux: 4 when it generate the font_size attr, for "politics" the size is 6 and for "linux" the size is 0. It can't b

Re: about tagging app and tags cloud

2007-12-11 Thread Lic. José M. Rodriguez Bacallao
I'm controling the font size with CSS, that is not the problem, the problem is with the code for tags cloud that it doesn't generate the font_size attr for some tags. On Dec 11, 2007 3:44 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Just control the default font size with a little CSS? (pr

about tagging app and tags cloud

2007-12-11 Thread Lic. José M. Rodriguez Bacallao
he "font_size" attr, so, how can I generate the tags cloud? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca

Re: Noob question: Which Linux distribution is "best" for Django?

2007-12-11 Thread Lic. José M. Rodriguez Bacallao
I will recommend Arch, is simple and powerful. On Dec 11, 2007 1:22 PM, Joe <[EMAIL PROTECTED]> wrote: > > To make things easy, you could download VMware Server - run that on > your windows box and install the prebuilt appliances. That'd make it > easy to try out a few linux versions. VMware is fr

about nesh.thumbnails

2007-12-05 Thread Lic. José M. Rodriguez Bacallao
thing(self): return '{{ "col name"|upper }}' do_something.allow_tags = True ... class Admin: list_display = [...,'do_something'...] -- Lic. José M. Rodriguez Bacallao Cupet - Todos so

Re: Workflow engine

2007-10-17 Thread Lic. José M. Rodriguez Bacallao
yes, something like that!!! On 10/17/07, Tim Perrett <[EMAIL PROTECTED]> wrote: > > > When you say 'workflow', do you mean like a JBPM type thing, but in > python? > > Cheers > > TP > > > On 17 Oct 2007, at 14:07, Lic. José M. Rodriguez Bacallao w

Workflow engine

2007-10-17 Thread Lic. José M. Rodriguez Bacallao
hi folks, I need a workflow engine to use with a django web site I'm implementing, does anyone know a good workflow engine for python (or django)? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que o

test models

2007-10-01 Thread Lic. José M. Rodriguez Bacallao
27;t know how can I test it in other places other than the browser? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida p

Re: change list in admin

2007-09-28 Thread Lic. José M. Rodriguez Bacallao
t; > > hi jose > > Lic. José M. Rodriguez Bacallao wrote: > > how can I limit items in "change list" of the admin interface? > > the admin will use your model's default manager (the first specified > manager) to filter results. > > more information

Re: about auth

2007-09-27 Thread Lic. José M. Rodriguez Bacallao
> If you have any specific questions, I would be more than happy to answer > what I can. > -richard > > > > > On 9/27/07, Lic. José M. Rodriguez Bacallao <[EMAIL PROTECTED]> wrote: > > > > hi people, I got a little question, how can I make some users add ne

Re: change list in admin

2007-09-27 Thread Lic. José M. Rodriguez Bacallao
nager = CustomManager() On 9/27/07, Lic. José M. Rodriguez Bacallao <[EMAIL PROTECTED]> wrote: > > how can I limit items in "change list" of the admin interface? > > -- > Lic. José M. Rodriguez Bacallao > Cupet >

change list in admin

2007-09-27 Thread Lic. José M. Rodriguez Bacallao
how can I limit items in "change list" of the admin interface? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue cons

Re: about auth

2007-09-27 Thread Lic. José M. Rodriguez Bacallao
return HttpResponseRedirect(wherever) >else: > if id: >item = get_object_or_404(News, id) ># show the form, populated with the item's data > else: ># show a blank form for them to add >pass # do whatever you want here... &

about auth

2007-09-27 Thread Lic. José M. Rodriguez Bacallao
hi people, I got a little question, how can I make some users add news (model News), modify only news owned by him or even delete his news, not others users news, but only admins can publish all of them? -- Lic. José M. Rodriguez Bacallao Cupet

Re: admin site and parent/child relationship

2007-08-31 Thread Lic. José M. Rodriguez Bacallao
la > interface del Country al que pertenece. > Tenes idea como puedo hacer eso utilizando la interface admin?? > > Muchas gracias, saludos desde Argentina > > On 30 ago, 16:05, "Lic. José M. Rodriguez Bacallao" <[EMAIL PROTECTED]> > wrote: > > Hi people,

Re: admin site and parent/child relationship

2007-08-30 Thread Lic. José M. Rodriguez Bacallao
ok, thanks On 8/30/07, Alex Koshelev <[EMAIL PROTECTED]> wrote: > > > There is no way to do so in django admin now. > > > > > -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes,

admin site and parent/child relationship

2007-08-30 Thread Lic. José M. Rodriguez Bacallao
that? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales

Meta options`

2007-08-27 Thread Lic. José M. Rodriguez Bacallao
how can I add my custom options to the Meta model class? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por

Re: modeling db inheritance

2007-08-27 Thread Lic. José M. Rodriguez Bacallao
could be adding a ForeingKey to User, but, how to know, > having > > a > > User if it is Student, Teacher or Manager? > > > > Any ideas? > > > > Best Reagards, > > > > -- > > Lic. Ernesto Rodríguez Reina > > Facultad de Matemática y Computación, UH.

Re: modeling db inheritance

2007-08-24 Thread Lic. José M. Rodriguez Bacallao
> class Manager(models.Model): > pass > > I think it could be adding a ForeingKey to User, but, how to know, having > a > User if it is Student, Teacher or Manager? > > Any ideas? > > Best Reagards, > > -- > Lic. Ernesto Rodríguez Reina > Facu

Re: insert or update

2007-08-21 Thread Lic. José M. Rodriguez Bacallao
es, I need such functionality :) > > Peter > > > > -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe

insert or update

2007-08-21 Thread Lic. José M. Rodriguez Bacallao
how can I know programatically if an operation in a model is an insert, update or delete? I just want to extend the admin log to log any action in my application models. Right now, admin app only log actions executed by itself. -- Lic. José M. Rodriguez Bacallao Cupet

Re: how to display an error

2007-08-09 Thread Lic. José M. Rodriguez Bacallao
; the new created object. > > > On Aug 9, 1:29 pm, "Lic. José M. Rodriguez Bacallao" > <[EMAIL PROTECTED]> wrote: > > if I have a model with save method overrided to check if some values in > my > > model are ok, how can I display the field(s)

about templates tags

2007-08-09 Thread Lic. José M. Rodriguez Bacallao
can I include more than one template tag definition in a single template tag file? Right now I was trying to do that and I can't. -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no

how to display an error

2007-08-09 Thread Lic. José M. Rodriguez Bacallao
if I have a model with save method overrided to check if some values in my model are ok, how can I display the field(s) with errors in red in admin like django admin does when an error occur with that field(s)? -- Lic. José M. Rodriguez Bacallao Cupet

Re: Menu implementation

2007-08-06 Thread Lic. José M. Rodriguez Bacallao
yes On 7/18/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > > > Lic. José M. Rodriguez Bacallao wrote: > > Have anybody implemented a tree with django, for example, a menu? > > > > tree = ui or data structurer? (guessing the answer is yes to both) > > Carl

Re: related_name

2007-08-06 Thread Lic. José M. Rodriguez Bacallao
. On 8/4/07, Amirouche <[EMAIL PROTECTED]> wrote: > > > > > On Aug 1, 10:07 pm, "Lic. José M. Rodriguez Bacallao" > <[EMAIL PROTECTED]> wrote: > > how can I change the "related_name" value in a ForeignKey field > dynamically > > at m

(another) admin and edit_inline

2007-08-03 Thread Lic. José M. Rodriguez Bacallao
: app_name_model_B.creation_date may not be NULL. Is this normal? What can I do? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue

django admin and edit_inline

2007-08-02 Thread Lic. José M. Rodriguez Bacallao
if I have a model edited inline with other in the admin site, how can I specified the ordering of the inline edited model fields and it don't show up in admin first page? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somo

related_name

2007-08-01 Thread Lic. José M. Rodriguez Bacallao
how can I change the "related_name" value in a ForeignKey field dynamically at model creation time? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

related_name

2007-08-01 Thread Lic. José M. Rodriguez Bacallao
how can I change the "related_name" value in a ForeignKey field dynamically at model creation time? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

Re: Does a pre/post_save signal know who is the user currently logged in?

2007-07-19 Thread Lic. José M. Rodriguez Bacallao
can set up cron jobs, use Django as > a backend to a non-web application, etc.); if the request object and > auth system were that tightly coupled to the model layer, a lot of > uses wouldn't be possible. > > -- > "Bureaucrat Conrad, you are technically correct -- the

Re: Does a pre/post_save signal know who is the user currently logged in?

2007-07-19 Thread Lic. José M. Rodriguez Bacallao
can set up cron jobs, use Django as > a backend to a non-web application, etc.); if the request object and > auth system were that tightly coupled to the model layer, a lot of > uses wouldn't be possible. > > -- > "Bureaucrat Conrad, you are technically correct -- the

Menu implementation

2007-07-18 Thread Lic. José M. Rodriguez Bacallao
Have anybody implemented a tree with django, for example, a menu? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por

recursive relation

2007-07-16 Thread Lic. José M. Rodriguez Bacallao
How can I make a recursive one-to-many relation? -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el

Re: little problem

2007-07-13 Thread Lic. José M. Rodriguez Bacallao
PROTECTED]> wrote: > > > > if getattr(model_instance, 'id', None) is None: > > model_instance.created_by = whatever > > > > Also take a look at ``hasattr()``: > http://docs.python.org/lib/built-in-funcs.html#l2h-

little problem

2007-07-13 Thread Lic. José M. Rodriguez Bacallao
save the problem here is how to know if model_instance.created_by field is set or not, I think that it can be known if a can figure out if save method is going to insert or update, but, how I know it? -- Lic. José M. Rodriguez Bacallao Cupet

Re: one model per file

2007-07-12 Thread Lic. José M. Rodriguez Bacallao
Benjamin is right, I forgot that detail!! On 7/12/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote: > > On 7/12/07, Lic. Jos� M. Rodriguez Bacallao <[EMAIL PROTECTED]> wrote: > > the idea here is like Jeremy say, make django think that it has a module > or > > package named models, here, in __init__.

Re: one model per file

2007-07-12 Thread Lic. José M. Rodriguez Bacallao
Benjamin is right, I forgot that detail!! On 7/12/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote: > > On 7/12/07, Lic. Jos� M. Rodriguez Bacallao <[EMAIL PROTECTED]> wrote: > > the idea here is like Jeremy say, make django think that it has a module > or > > package named models, here, in __init__.

Re: Is there any way to custom group models in the admin panel?

2007-07-12 Thread Lic. José M. Rodriguez Bacallao
more. I will have an app with > probably 40-50 models and would like to group those logically instead > of having them all listed under my app name. > > Thanks, > > Sebastian > > > > > -- Lic. José M. Rodriguez Bacallao Cupet --

Re: one model per file

2007-07-12 Thread Lic. José M. Rodriguez Bacallao
jango makes that pathing assumption right now. > There's some desire, but no urgency, to remove that limitation. > > For now, just use import *. :) > > > > -- Lic. José M. Rodriguez Bacallao Cupet - Todo

Re: Eclipse and PyDev setup

2007-07-11 Thread Lic. José M. Rodriguez Bacallao
three systems this way - perhaps > some skilled Django users/developers will enlighten this. > > > > -- Lic. José M. Rodriguez Bacallao Cupet - Todos somos muy ignorantes, lo qu

DRY violation

2007-07-11 Thread Lic. José M. Rodriguez Bacallao
django ORM save the object to database. The problem is that I love the DRY principle and I don't want to repeat the definition of save() method, I just don't want. Any suggestion here? -- Lic. José M. Rodriguez Bacallao Cupet - T

DRY violation

2007-07-11 Thread Lic. José M. Rodriguez Bacallao
django ORM save the object to database. The problem is that I love the DRY principle and I don't want to repeat the definition of save() method, I just don't want. Any suggestion here? -- Lic. José M. Rodriguez Bacallao Cupet - T

contenttypes

2007-07-02 Thread Lic. José M. Rodriguez Bacallao
Hi everyone, I really need some help on the contentypes app, could someone explain me how it work with an example, I have read a little explanation on: http://feh.holsman.net/articles/2006/06/03/django-contenttype but its very vague. Could someone help me please? -- Lic. José M. Rodriguez

classes

2007-06-07 Thread Lic. José M. Rodriguez Bacallao
how can I know insede a method the type of my class dynamicaly? -- Lic. José M. Rodriguez Bacallao Cupet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Authenticated user

2007-06-06 Thread Lic. José M. Rodriguez Bacallao
? Any suggestions? -- Lic. José M. Rodriguez Bacallao Cupet --~--~-~--~~~---~--~~ 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 unsubs

Re: dynamic fields in models

2007-06-05 Thread Lic. José M. Rodriguez Bacallao
): text = models.TextField() def __str__(self): return self.title class Admin: pass NewsItem = common_attrs(NewsItem, Content) On 6/5/07, Branton Davis <[EMAIL PROTECTED]> wrote: > > > Cool! > > > > > -- Lic. Jo

Re: dynamic fields in models

2007-06-05 Thread Lic. José M. Rodriguez Bacallao
__str__(self): return self.title class Admin: pass NewsItem = common_attrs(News, Content) On 6/5/07, Branton Davis <[EMAIL PROTECTED]> wrote: > > > Cool! > > > > > -- Lic. José M. Rodriguez Bacallao Cupet --~--~-~--~~~

any django users in Cuba?

2007-06-05 Thread Lic. José M. Rodriguez Bacallao
there is any django users in Cuba or just a cuban user? -- Lic. José M. Rodriguez Bacallao Cupet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

dynamic fields in models

2007-06-04 Thread Lic. José M. Rodriguez Bacallao
table, anyone could help me? -- Lic. José M. Rodriguez Bacallao Cupet --~--~-~--~~~---~--~~ 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@googlegro

Re: problem representation

2007-06-04 Thread Lic. José M. Rodriguez Bacallao
think > you'll end with really sparse tables, it may be worth it for the > simplicity. > > You wouldn't want to use a one-to-one table for common elements among > different models. > > -joe > > On 6/4/07, Lic. José M. Rodriguez Bacallao <[EMAIL PROTECTED]>

problem representation

2007-06-04 Thread Lic. José M. Rodriguez Bacallao
o, I don't know what to do, anyone could help me? -- Lic. José M. Rodriguez Bacallao Informatics Science University Habana-Cuba. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: django models

2007-05-28 Thread Lic. José M. Rodriguez Bacallao
reading the documentation about models I > > saw that the semantic of this relationship will change, so, right now, > > I don't know what to do to be forward compatible, anyone can help me? > > > > -- > > Li

django models

2007-05-28 Thread Lic. José M. Rodriguez Bacallao
django, I mean, the better way. Until now, I specify it by a OneToOne relationship but reading the documentation about models I saw that the semantic of this relationship will change, so, right now, I don't know what to do to be forward compatible, anyone can help me? -- Lic. José M