tes and would import the data blocks of each of them.
My question is this one: Is there a way I don't have to repeat the same
template coding for the above illustrated example?
Luis P. Mendes
--~--~-~--~~~---~--~~
You received this message because you are subscr
DavidA escreveu:
> You build up a dynamic "and" query with a term for each checked box in
> the UI. Then you use that compound query to filter your model objects.
>
> Now that I think about it, since this is an "and" you could also do:
>
> def my_view(request):
> query = {}
> for i in
but as names
of model's attributes.
Since filter accepts a keyword argument, I also tried to use a
dictionary as {"var3":True,"var4":False} but with no success.
Please, I would very much appreciate your help on this. How c
Hi,
I want a user to select a multiple filter through check boxes.
The problem is that filtering in django doesn't return all the expected
results. I tried both chained filtering and filters with anded
conditions and the result is no different.
I'm I missing something? Where's the flaw?
Jay Parlar escreveu:
> On 8/30/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
>
>> I have something to add:
>> - I can add or delete 'fichas' from the admin site with no problem.
>> - This 0.95 version is an upgrade from 0.91.
>>
>
> Th
Jay Parlar escreveu:
> On 8/29/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I posted this on Saturday, but since I had no replies, I'm reposting it.
>>
>> What should I look for to solve this problem:
>>
>> When I access htt
dmin/auth/user/add/
Request information
GET
No GET data
POST
No POST data
.
What should I try to look for to solve this problem?
Luis P. Mendes
--~--~-~--~~~---~--~~
You received this message because you are subscribed
t;%s | %s" % (self.content_type, self.name)
File
"/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/models/fields/related.py"
in __get__
163. raise self.field.rel.to.DoesNotExist
DoesNotExist at /admin/auth/user/add/
Request information
GET
No GET data
POS
that can be available by default?
My admin interface has another issue that I think it was not supposed to
happen. I can see a list of the users but when I try do access each of
them, the web page required is not found. Do I have to insert so
thank you for your help!
Luis P. Mendes
Chris Long escreveu:
> To add permissions.
> For user: user.user_permissions.add(perm)
> (I think, don't have the chance to double check) For group:
> group.permissions.add(perm)
>
> For your question, the permission table contain
Chris Long escreveu:
> If I have a group instance called students and I wanted to add it to
> the user instance bill I would use:
> bill.groups.add(students)
>
> If you want to have a permission for a view, you will have to use the
> has_perm method that is within the user model (user.has_perm)
oth entries correct?
What I really need is that someone could show me an example of:
- assigning a user to a group;
- assign a user permission to a view;
- assign a group permission to a view.
Sorry if this is a very trivial problem, but I really need an example to
help understand how this works.
Luis P
to press the button (unless of course
> they wait days, and expire the cookie).
>
Thank you for your answer.
Would you mind sending me some link where such an example is
implemented, if possible?
It's easier to code with an example.
Luis P. Mendes
-BEGIN PGP SIGNATURE-
Version: G
em to address my
question of generating both a web page and a file at the same time of
the latter after pressing a button in the former.
Luis P. Mendes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&qu
some minutes to press the button.
I'd appreciate some insights on this problem.
Thank you in advance,
Luis P. Mendes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
thank you all for your help!
Luis P. Mendes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm using version 0.91.
To put it short, I get a TypeError when I try to use a foreign key.
Here's what I have:
_In Postgresql_
TABLE "cadastro_servicos" (
~"id" serial NOT NULL PRIMARY KEY,
~"codigo" text NOT NULL,
~"nome" varchar(
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thank you for your help.
I was able to load the index page of the only application I developed of
my project using apache, but I needed to change some urls. I haven't
yet understand this process completely. So I ask you for some 'light'.
I have th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm building my first dynamic web site using Django. mod_python is
installed and runs well. I tried the example supplied at its docs.
I thought of having a development site under my /home account and it is
running fine with the django pre-buil
19 matches
Mail list logo