2006/12/14, T. Size <[EMAIL PROTECTED]>:
>
>
> I guess the next thing for me to do is to spend alot of
> time with the documentation and built a couple of simple apps/tutorials
> to flush out my understanding of how Django will work.
>
>
a lot of time... not really, django was my first contact wi
quickly:
{{ current_object.id|add:"1" }} but u havent access to methods of next
object if it doesn't exist, but you can hardcode a link to object.
2006/12/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Hey Everyone,
>
> Wondering if anyone can help me out here. Is it possible to get the
> next
I had it before, once.
Restart everything!
2006/12/16, Jeremy Dunck <[EMAIL PROTECTED]>:
>
>
> On 12/15/06, DavidAtEcodata <[EMAIL PROTECTED]> wrote:
> >
> > This seems to be a known problem but no-one has offered a solution as
>
> What URL are you requesting?
>
> > so I'm convinced this is purely
the worst idea is:
class Picture(models.Model):
file = models.ImageField(upload_to=settings.MY_MEDIA, blank=True,
null=True)
entry = models.ForeignKey(Entry)
def filename(self):
if os.name == 'nt':
return str(self.f
Hi
06-11-28, Jarosław Świerad <[EMAIL PROTECTED]> napisał(a):
>
> I just want to say: Hi to all.
>
> I'm a new django user and hopefully this is a right place to stay and
> set/get informations!
>
> See You in net,
>
> Messer.
>
> >
>
--~--~-~--~~~---~--~~
You rec
I'm building kind of CRM.. Project manager, client base and Invoice system.
2006/11/17, Picio <[EMAIL PROTECTED]>:
>
> Just courious if Is there anyone that have built or will build a CRM
> or an ERP using Django?
> Thanks
> Picio
>
> >
>
--~--~-~--~~~---~--~~
Yo
Polish:
ą = a
ć = c
ź or ż = z
ę = e
ó = o
ł = l
ś = s
ń = n
2006/11/17, zenx <[EMAIL PROTECTED]>:
>
> Spanish info:
> á é í ó úshould be a e i o u
> ü should be u
> ñ should be n
>
> I think that's everything in spanish ;)
>
>
> >
>
--~--~---
It is possible to access, and do a query inside models.py ?
Something like this:
class Tag(models.Model):
#props...
def _get_count(self):
return Tag.objects.all().count()
counter = property(_get_count)
Do you know what I mean ?
--~--~-~--~~~---
or try this:
{% for a in list|slice:"1" %}
{{ something }}
{% endfor %}
{% for a in list|slice:"1:3" %}
{{ something }}
{% endfor %}
{% for a in list|slice:"3:" %}
{{ something }}
{% endfor %}
a little bit better i think
2006/11/14, Julio Nobrega <[EMAIL PROTECTED]>:
>
> Ugly, but I gue
class Page(models.Model):
title = models.CharField(maxlength=200)
pub_date = models.DateTimeField('Publication date')
content = models.TextField(blank=True)
category = models.ForeignKey(Category, blank=True)
seo = models.ForeignKey(Seo, blank=True)
slug = models.SlugField('
Make a relation ManyToMany between user and article, adding to
favorite (in your example) is creating record with userId and
ArticleId.
2006/11/11, Jamie Pittock <[EMAIL PROTECTED]>:
>
> Sorry, I didn't mean add to your browser favourites.
>
> I meant more of a feature built into a website where
{% for item in campaigns %}
{{ item.id }}
{% endfor %}
2006/11/10, Merric Mercer <[EMAIL PROTECTED]>:
>
> As part of my render_to_response I have returned the following:-
> 'campaigns':dict1 - where dict1 is a dictionary of objects from a model
> called "Campaigns".
>
> In my template I can d
Hello,
I need all records of _Category_ that doesn't have _parent_:
In my model:
#
class Category(models.Model):
#... code here
parent = models.ForeignKey('self', blank=True, null=True,
related_name='child_set')
##
all_categorys = Category.objects.all().filter(parent=N
13 matches
Mail list logo