The delete operation is operated in Admin interface.
On Tue, Jun 30, 2009 at 4:18 PM, khsing<khsing...@gmail.com> 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 whe
yes, I have noticed, and I have close my ticket.
thanks you.
On Wed, Jul 1, 2009 at 10:56 AM, Karen Tracey<kmtra...@gmail.com> wrote:
> On Tue, Jun 30, 2009 at 3:45 AM, khsing <khsing...@gmail.com> wrote:
>>
>> I have test in IE 6/8, the select all checkbox does n
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
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
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
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
1, 2009 at 9:06 PM, khsing <khsing...@gmail.com> wrote:
>>
>> Alex, thank you very much.
>>
>> I find if g1 belong g2, g2 will belong g1 automatically, but that is not
>> right.
>>
>> should I rewrite models like this one?
>>
>> groups = mode
wrote:
>
>
> On Wed, Feb 11, 2009 at 2:29 AM, khsing <khsing...@gmail.com> wrote:
>>
>> class user(models.Model):
>>username = models.CharField(max_length=50)
>>
>> class group(models.Model):
>>groupname = models.CharField(max_length=50
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:18 PM, khsin
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 <alex.gay...@gmail.com> wrote:
>
>
> On Mon, Feb 9, 2009 at 10:18 PM, khsing <khsing..
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
I have got the reason.
just set FORCE_SCRIPT_NAME = '' in settings.py
On Tue, Dec 30, 2008 at 10:41 AM, khsing <khsing...@gmail.com> wrote:
>
> I have done via this link
> http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/
>
> The login form is appeared, bu
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
14 matches
Mail list logo