Hi everyone i have this error when use :
registro.group.permissions.add(gp) inside a loop for. everything right
Ok the permisssions has saved. but i have the error : 'Group' object has no
attribute 'group'. i have not idea for this error.
--
You received this message because you are subsc
help me?
Unhandled exception in thread started by .wrapper at 0x7feeeb74ab70>
Traceback (most recent call last):
File
"/home/jaime/.local/lib/python3.6/site-packages/django/utils/autoreload.py",
line 225, in wrapper
fn(*args, **kwargs)
File
"/home/jaime/.local/l
index=over.igc_master %}
test {{ index }}
{% if index == obj.pk %}
mal {{ index }}
{% else %}
OK {{ index }}
{% endif %}
{% endwith %}
{% ifequal obj.pk over.igc_master %}
Test Jaime
Help please!!
I need do like this
in django 1.9 template tag
{% if model1.obj == model2.obj %}
print ok
{% else %}
print not OK
{% endif %}
but don't work.
someone help me??
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fr
Oh man! I spent a couple of hours on this. Absolutely ridiculous! Here is
what it fixed for my mezzanine's project:
# Remove any references to your home folder (this can break Mezzanine)
while "." in sys.path:
sys.path.remove(".")
while "" in sys.path:
sys.path.remove("")
I am writing a
Hi, i'm starting with django. At this moment i need to make my form's
foreign keys searchable, it seems that what works form me is the
https://github.com/django-extensions/django-extensions using the
ForeignKeyAutocompleteAdmin function. The best simple example i'd
found is this:
http://code.google
os were good ;)
--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, s
ings in
Django. You can control exactly the map of the website and all the
parameters to the views, and make changes inside without affecting URLs. OK,
regular expressions are awful. They always were and they always will be, but
usually the expressions on the URLs are not very difficult and are sim
When I had to do this kind of tasks, I've added a new management command and
run it from the cron (or manually any time you need it, with params, etc).
You can run it calling
python manager.py miCommand parameters
The official documentation is not very complete, which is rare, but there
are some
Use the filter 'safe'
{{ variable | safe }}
On Tue, Oct 20, 2009 at 8:31 AM, Alexey Moskvin wrote:
>
> Hi!
> I use django feed framework to organize rss feeds for my website.
> I need to put some hyperlinks to feed items, but al of them are
> autoescaped ( "<" is replaced with "<" and so on).
>
he column and you have exactly the same) and it seems
could be used for simple operations like save()
what about a pk implementation that uses unique_together?
--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
it can't be used.
>
fortunately, i don't use mysql ;)
--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157
--~--~-~--~~~---~--~~
You received this message because
urrently support multiple column primary keys, see:
> http://code.djangoproject.com/ticket/373
>
good database design makes use very often of composite pk's so my best
bet is to declare the models without a primary key and make my code
decide if an UPDATE or an INSERT is needed?
ation? for example
when deciding if a save() should be an insert or an update?
--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157
--~--~-~--~~~---~--~~
You received this me
Hi,
There is any way to use tabs like the ones in the admin form in ordinary ones?
--
regards,
Jaime Casanova
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
search_fields = ('song__name', ),
>
> Hope that helps.
>
>
>
--
Jaime G. Wong Chacaltana
E-Mail: [EMAIL PROTECTED]
Web : http://jgwong.org/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
search_fields = ('song', ),
)
...but I get an exception.
Exception Type: TypeError
Exception Value:got unexpected keyword argument 'song__icontains'
What am I doing wrong?
--
Jaime G. Wong Chacaltana
E-Mail
17 matches
Mail list logo