ok, thanks everyone
2011/3/31 Łukasz Rekucki <lreku...@gmail.com>:
> On 31 March 2011 18:50, Lic. José M. Rodriguez Bacallao
> <jmr...@gmail.com> wrote:
>> well, I don't know if this is ok, but I solved the problem adding a
>> name='help_subject' tu the urlconf lin
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
<jmr...@gmail.com> wrote:
> sorry, I have atypo in the previous code, this is the las line:
>
> (
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
<jmr...@gmail.com> wrote:
> I am getting a this error:
> TemplateSyntaxError at /help/
>
> Caught No
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, 2011 at 12:33 PM, Lic. José M. Rodriguez Bacallao
<
ilter(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 <lreku...@gmail.com>:
> On 31 March 2011 17:16, Lic. José M. Rodriguez Ba
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 Biofisica
so, no one?
On Thu, Mar 24, 2011 at 11:42 AM, Lic. José M. Rodriguez Bacallao
<jmr...@gmail.com> 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 <h...@tbz-p
o 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
om the link Cal provided)
>
> -james
>
> On Mon, Nov 1, 2010 at 2:19 PM, Lic. José M. Rodriguez Bacallao
> <jmr...@gmail.com> wrote:
>> with webdav can I uploading a file, interrupt it the then resume the
>> upload again starting from an offset of the previously upload
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
>>> <jmr...@gmail.com> wrote:
>>>>
>>>> hi folks, I need t
.radinks.com/upload/plus/resume.php
> http://www.google.co.uk/search?sourceid=chrome=UTF-8=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. Jo
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
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 construida
let's see those options!!!
On Fri, Aug 21, 2009 at 8:26 AM, Sid<sidmitra@gmail.com> 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. <eddie@gmail.com> wrote:
>
> 2009/7/17 Michael <newmani...@gmail.com>:
>> On Fri, Jul 17, 2009 at 1:30 PM, Lic. José M. Rodriguez Bacallao
>> <jmr...@gmail.com> wrote:
>>>
anyone?
On 7/17/09, Lic. José M. Rodriguez Bacallao <jmr...@gmail.com> 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
>
> --
>
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 Biofisica Medica
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
-
Todos somos muy igno
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 ignoramos lo
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 ignoramos lo
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
> >
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
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
Cupet
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
ize" 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 de Noe fue con
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
something.allow_tags = True
...
class Admin:
list_display = [...,'do_something'...]
--
Lic. José M. Rodriguez Bacallao
Cupet
-
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca d
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 wrote:
&
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 ocurre
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 por aficion
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 here:
>
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 news
&g
= 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
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...
>
>
>
> -tim
>
>
>
>
>
> >
>
--
Lic.
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 peop
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
ager(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
> Facultad de Matemát
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
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) with error
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 todos
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 model
:
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 somos muy
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 best
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 best
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-35
>
&g
ve
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
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
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
--
ssumption right now.
> There's some desire, but no urgency, to remove that limitation.
>
> For now, just use import *. :)
>
> >
>
--
Lic. José M. Rodriguez Bacallao
Cupet
-
Todos somos muy ignorantes, lo que ocurre es
perhaps
> some skilled Django users/developers will enlighten this.
>
> >
>
--
Lic. José M. Rodriguez Bacallao
Cupet
-
Todos somos muy ignorantes, lo que ocurre es que no todos
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
-
Todos somos
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
-
Todos somos
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,
):
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@google
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]> wrote:
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 post to this group,
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. Rodriguez
, 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. Rodriguez Bacallao
76 matches
Mail list logo