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
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
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
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,
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
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
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
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
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
;
> -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,
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
>
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
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...
&
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
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,
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,
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
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
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.
> 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
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
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
; 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)
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
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
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
.
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
:
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
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
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.
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.
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
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
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
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
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-
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
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__.
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__.
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
--
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
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
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
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
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
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
?
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
):
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
__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
--~--~-~--~~~
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
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
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]>
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
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, 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
80 matches
Mail list logo