Hey,
why is a query like order:by('?') in postgree not working. It works
great in sqlite.
thx
sebastian
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from thi
okay, found the problem. It is not allowed that there are zero valued
foreign keys.
On 3 Jun., 22:36, bastir wrote:
> thx 4 your answer. If there is a foreign user key that links to a user
> that does not exist is this the problem? Because I'm pretty sure that
> is not the case in
again. any other hints how to fix this.
thx a lot
Sebastian
On 3 Jun., 21:41, Lee Hinde wrote:
> On Thu, Jun 3, 2010 at 12:36 PM, bastir wrote:
> > Hey,
> > i'm suddenly getting an error with dumpdata:
> > django.contrib.auth.models.DoesNotExist: User matching query
Hey,
i'm suddenly getting an error with dumpdata:
django.contrib.auth.models.DoesNotExist: User matching query does not
exist.
What's wrong here. I did not change anything (especiallyin the User
model)
Thx,
Sebastian
--
You received this message because you are subscribed to the Google Groups
"D
Hey Luca,
i think u can give every formfield a dict of error messages like this:
forms.InputField(error_messages={'required':u'your MSG'})
Hope this helps
Sebastian
On 3 Jun., 18:34, luca72 wrote:
> hello at all.
> during the renderig of a form in any required field is write "this
> field is requ
Hey Shawn,
I have deleted the whole DB just to be sure. It must be sth else. I'm
using the grapelli admin interface. An SQL insert query with NULL as
foreign key is working. So it must be sth abouth the django validation
stuff.
thx,
Sebastian
On 28 Mai, 18:18, Shawn Milochik wrote:
> Had you al
Hey Shawn,
I have deleted the whole DB just to be sure. It must be sth else. I'm
using the grapelli admin interface. An SQL insert query with NULL as
foreign key is working. So it must be sth abouth the django validation
stuff.
thx,
Sebastian
On 28 Mai, 18:18, Shawn Milochik wrote:
> Had you al
Hey,
i want to have an optional foreign key in my model. I tried sth like
this:
person= models.ForeignKey('Person',
related_name="kontakt",blank=True,null=True)
If I try to add a new object in the admin interface it is always
complaining that i have no value selected in the person field.
Wha
better way to do it?
Thx
bastir
if f.is_valid() and formset.is_valid():
texte = formset.save()
dbobj = f.save(commit=False)
dbobj.basic_ptr.stand_id = stand_id
dbobj.save()
for txt in texte:
dbobj.texte.add(txt)
--
You
Sry. Just found it out. If it is in the view it must be :
app_name.view.function_name as you said. I tried it with
prog_name.app_name which does not work.
Thank you very much
bastir
On 29 Jan., 11:27, bastir wrote:
> Hello Atamert,
>
> thanks for your quick reply. It seems that it
Hello Atamert,
thanks for your quick reply. It seems that it now finds the function
but still does not work:
Reverse for '' with arguments '()' and
keyword arguments '{'s_id': 1}' not found.
Greetings
bastir
On 29 Jan., 11:19, Atamert Ölçgen wrote:
&g
Hi,
i tried to construct a redirect but it cannot find my view function.
Here is the relevant code that I tried. The error I get is:
Reverse for 'show_id' with arguments '()' and keyword arguments
'{'s_id': 1}' not found.
Plz help me..
Thx
Sebastian
in views.py
def nametoid(request,name)
-
12 matches
Mail list logo