On 1 juil, 14:44, coan wrote:
> I have a friendship model for users and want to retrieve all the posts
> my friends made.
>
> class Friendship(models.Model):
> from_friend = models.ForeignKey( User, related_name='friend_set' )
> to_friend = models.ForeignKey( User, related_name='to_friend_set'
On 1 juil, 10:45, littlejim84 wrote:
> I'm new to Django, and I'm developing an project where I have an app
> called 'people' and a model inside called 'person'. The project itself
> is based around the idea of people connecting with each other... So, I
> as a person can connect to 3 other person
Hi all,
I am trying to design the following model :
- a checklist is a collection of checkpoints
- a checkpoint can be an action, or a group of actions.
- the same action can be in several groups
I read the Generic relations documentation :
http://www.djangoproject.com/documentation/models
On Sep 17, 10:41 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> On Sep 17, 2008, at 11:45 PM, Mathieu Leplatre wrote:
>
>
>
>
>
> > Hi all,
>
> > I am starting a new thread, the first one became off-topic (http://
> > groups.googl
Hi all,
I am starting a new thread, the first one became off-topic (http://
groups.google.com/group/django-users/browse_thread/thread/
34b501d2d1f88496/f8a5d5ef5aeab62a)
I want to do a simple external script that just relies on django's
ORM.
So I did a single file testdjango.py :
--
import
bout that in the Django documentation web site.
> I hope it was helpfull
>
> []s
> Ronaldo.
>
> On Tue, Sep 16, 2008 at 7:53 PM, Mathieu Leplatre <[EMAIL PROTECTED]> wrote:
>
> > Should I post a new thread ?
> > I cannot find anything about this way of
Should I post a new thread ?
I cannot find anything about this way of using Django...
On Sep 16, 9:12 am, Mathieu Leplatre <[EMAIL PROTECTED]> wrote:
> Thanks for the tip.
>
> Indeed it loooks to be the way, however I am having app_label
> errors...
> It complains
>
Thanks for the tip.
Indeed it loooks to be the way, however I am having app_label
errors...
It complains
Error: No module named p
(for polls)
If I put my script in a module or remove Meta :
File "[...]/django/db/models/base.py", line 51, in __new__
kwargs = {"app_label": model_module.__name
Hi all,
I found many post about specific errors regarding django as a
standalone tool.
With a little bit of researching, I ended up with this script below.
Unfortunately, it fails on database initialization.
...
...
File "/home/mathieu/Code/uhm/svn/uhm/django/db/backends/sqlite3/
base.py", lin
On Sep 1, 4:02 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2008-09-01 at 11:39 -0700, Mathieu Leplatre wrote:
> > Hi all,
>
> > According to the documentation, email sending is done through smtp.
> > Is there a way to use sendmail or postfix instead ?
Hi all,
According to the documentation, email sending is done through smtp.
Is there a way to use sendmail or postfix instead ?
Thank you.
Mathieu.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gro
11 matches
Mail list logo