[Q] DB filter for inet?

2006-10-15 Thread Sneaky56
Hello there, Getting started with Django (v. 0.95 and postgres), I'm trying to make a first application, and I encounter some problems: I have a database with 2 tables: addresses_network and addresses_ip, both having among others a column "ip_addr" (of type inet, thank you postgres). I want the

prob. with non-related objects deleted

2015-01-06 Thread sneaky56
hello all, my problem is the following (the models.py is attached): i want to implement a double-linked list (type BasicEntry) with the first entry having an empty name. each entry has two attributes prev_entry and next_entry to its neigbours. the first entry is created automaticaly and should n

Aw: Re: prob. with non-related objects deleted

2015-01-06 Thread sneaky56
thank you for your answer, james.   i had a quick look, but unfortunatly, both are not readily available as .deb packages for python3, so i just just had some tries and came away with the following solution. in the previously mentioned "removeEntry" method, i changed the "with" block to the fol