The delete operation is operated in Admin interface.
On Tue, Jun 30, 2009 at 4:18 PM, khsing wrote:
> As we know, if we delete a Object that related with others, The others
> will deleted together. If this relation is Foreign Key, it is okay,
> but when this relation is ManyToMany, t
yes, I have noticed, and I have close my ticket.
thanks you.
On Wed, Jul 1, 2009 at 10:56 AM, Karen Tracey wrote:
> On Tue, Jun 30, 2009 at 3:45 AM, khsing wrote:
>>
>> I have test in IE 6/8, the select all checkbox does not work. But it
>> can work with Safari or Firefox.
As we know, if we delete a Object that related with others, The others
will deleted together. If this relation is Foreign Key, it is okay,
but when this relation is ManyToMany, the delete operation should only
delete the relation not the related Objects.
thanks.
--
A man live in jail and want t
I have test in IE 6/8, the select all checkbox does not work. But it
can work with Safari or Firefox.
Django Version: 1.1-beta-1
--
A man live in jail and want to break.
http://blog.khsing.net
--~--~-~--~~~---~--~~
You received this message because you are subsc
I want create a model that contain two field and there is one of two
field can not be blank.
how to do it?
thanks.
--
A man live in jail and want to break.
http://blog.khsing.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Recently, I see some dictionary of Ruby, ROR and jQuery for Mac.
How to build a Django and python dictionary for mac?
thanks
On Thu, Feb 12, 2009 at 12:33 PM, Alex Gaynor wrote:
>
>
> On Wed, Feb 11, 2009 at 11:11 PM, Will Hardy wrote:
>>
>> Hi all,
>>
>> Should the release tarball maybe cont
Yes, I am work on a python 2.3 environment now.
Thanks a lots. I will import set datatype.
On Thu, Feb 12, 2009 at 10:24 AM, Alex Gaynor wrote:
> datatype
--
A man live in jail and want to break.
http://blog.khsing.net
--~--~-~--~~~---~--~~
You received this
up in groups: groups.append(group)
for other_group in group.group_set.all():
if not other_group in groups: groups.append(other_group)
return groups
that right?
Thanks.
On Thu, Feb 12, 2009 at 10:08 AM, Alex Gaynor wrote:
>
>
> On Wed, Feb 11, 2009 at 9:06 PM,
, Feb 11, 2009 at 2:29 AM, khsing wrote:
>>
>> class user(models.Model):
>>username = models.CharField(max_length=50)
>>
>> class group(models.Model):
>>groupname = models.CharField(max_length=50)
>>users = models.ManyToManyField(user)
>>
lete group list in such models, anyone
give me a suggestion.
example:
user U1 belong group G1 and group G1 belong G2, I want get G1 and G2 via U1.
like this
def get_all_groups(user):
return all_groups
>>>get_all-groups(U1)
[G1, G2]
that all.
Thank.
On Tue, Feb 10, 2009 at 12:1
Alex, thanks, now it work.
now have a new problem is may a group can contain itself, this will be a loop.
how to avoid this condition?
On Tue, Feb 10, 2009 at 11:28 AM, Alex Gaynor wrote:
>
>
> On Mon, Feb 9, 2009 at 10:18 PM, khsing wrote:
>>
>> I want design a g
I want design a group that can contain other groups, and one group can
belong many groups.
I write such code below, but not right.
class Group(models.Model):
groups = models.ManyToManyField(Group)
any suggestion?
or how to design such a group.
thanks.
--
A man live in jail and want to b
I have got the reason.
just set FORCE_SCRIPT_NAME = '' in settings.py
On Tue, Dec 30, 2008 at 10:41 AM, khsing wrote:
>
> I have done via this link
> http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/
>
> The login form is appeared, but the action of l
I have done via this link
http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/
The login form is appeared, but the action of login form is wrong.
I think the action should be "/admin/", but I got "/nsman.fcgi/
admin/". why?
here is some configure files.
* lighttpd.conf
fastcgi.serv
14 matches
Mail list logo