Thanks, this helped. I already wrote another workaround, but this is
smoother.
On May 20, 3:43 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Tue, May 20, 2008 at 7:03 AM, Gacha <[EMAIL PROTECTED]> wrote:
>
> > I changed the line, but I got the same
^
HINT: No operator matches the given name and argument type(s). You
might need to add explicit type casts.
On May 20, 1:23 pm, "Scott Moonen" <[EMAIL PROTECTED]> wrote:
> Gacha, see my bug report and a possible fix (it is currently w
Thanks, I hope this bug will be fixed.
On May 20, 1:23 pm, "Scott Moonen" <[EMAIL PROTECTED]> wrote:
> Gacha, see my bug report and a possible fix (it is currently working for me)
> at:
>
> http://code.djangoproject.com/ticket/7197
>
> -- Scott
>
>
&g
I upgraded Postgresql to 8.3 version and got an error in admin:
ProgrammingError: operator does not exist: smallint ~~* unknown
LINE 1: ...js_id" = '6538' AND "assort_apstlaiks"."a_diena" ILIKE
'2'
^
HINT: No operator
Hi, I made a small script that helps me to deal with many Django app
on the same server. Maybe somebody has similar script's or techniques
to do this job, please share with it. I just want to know, should I
develop it further or there are better ways to solve this.
link: http://gacha.id.lv/en/dst
I think you should pass only experments. The procedures whitch belongs
to experment you can get simply {{ experment.procedures.all }}
{% for exp in experiment_list %}
{{ exp.id}}
{{ exp.name }}
{{ exp.description }}
{{ exp.procedu
I agree to you about my version of this, but it was the best I could
figure out :) I readed your suggestion and I think it's very good and I
think it's very easy to implement in django system.
--~--~-~--~~~---~--~~
You received this message because you are subscr
Aidas Bendoraitis wrote:
> MyModel.objects.by_language("EN").all()
> MyModel.objects.by_language("EN").order_by('title')
I think this would be greate.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users
I developed an e-shop web and I implemented unlimited language support
for all content. Every model realy holded only integer values and
values, that should't be translated. Fields like "title" and
"description" was virtual, they didn't exist in the table, but I was
able to call them like "Model.f
I separated the models. Now I have myproj.extra which contains the
Choice model and all works fine :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
I try to import like: "import myproject" and then
myproject.auth.models.User but no luck, Django throws error, that auth
has no models class. Is there a way to make this to work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Nope, it didn't work :( but thx for a try
--~--~-~--~~~---~--~~
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 this group, send
Yes, I already know that :)
--~--~-~--~~~---~--~~
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 this group, send email to [EMA
I have two model files, the first is:
---
from proj.base.models import Choice
class User(meta.Model):
...
param = model.ForeignKey(Choice)
---
and the
I have a custom manipulator:
class Pircejs_Add(Manipulator):
def __init__(self):
self.fields = (
TextField(field_name='vards', is_required=True),
TextField(field_name='uzvards', is_required=True),
Emai
I have a custom manipulator:
class Pircejs_Add(Manipulator):
def __init__(self):
self.fields = (
TextField(field_name='vards', is_required=True),
TextField(field_name='uzvards', is_required=True),
Emai
Devraj wrote:
> Hi everyone,
>
> I am attempting to create graphs in my Django app.to provide reporting
> features. Are there any libraries available to do this in Python or
> Django?
>
> Something like http://www.qualityunit.com/postgraph/ for PHP
>
> Thanks
Try http://matplotlib.sourceforge.n
Try: http://matplotlib.sourceforge.net/
--~--~-~--~~~---~--~~
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 this group, send e
With SCGI worked for me too, but what is better and faster FCGI or
SCGI?
[EMAIL PROTECTED] wrote:
> I've only done SCGI in cherokee, I'll try to get FastCGI running and
> when I do I'll write about it on the wiki :)
--~--~-~--~~~---~--~~
You received this message
Ivan Sagalaev wrote:
> [EMAIL PROTECTED] wrote:
> > if settings.APPEND_SLASH and (old_url[1][-1] != '/') and ('.' not
> > in old_url[1].split('/')[-1]):
> > IndexError: string index out of range
> > --
> > and in the browse flup shows a simillar big
I was thinking that runfscgi is smth like runserver :D now I understand
my mistake. Thanx :)
--~--~-~--~~~---~--~~
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@go
I tryed to run "python manage.py runfcgi method=threaded
host=195.13 port=7778 daemonize=false" in my project dir. The
command executed, but nothing happened. I opened my site in browser and
it was loading and loading an loading, but it didn;t get any response
from django. What I'm doing wrong
I got the same problem :( edit inline doesn't work propertly
--~--~-~--~~~---~--~~
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 fr
I'm using django with mod_python. When someone using internet explorer
is trying to download some file and in the promt box he chose "Open"
then the file is downloaded, but IE says that the file doesn't exists,
but if chose to "Save" the file then the file is saved and it's ok.
Then I started the
Thanks, but how I see, this is for 0.91, but I use m-r version. Maybe
I'l try the python smtplib?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-use
I want to send email to users. The default charset is us-ascii, but I
need utf-8. How I see, there is SafeMIMEText class, where I can specify
the charset and other things, but I dont know how to use it. Can
someone give me a simple example.
--~--~-~--~~~---~--~~
Y
I solved this problem by this patch:
http://code.djangoproject.com/attachment/ticket/1132/current_user_field_patch.2.diff
Now I use:
author = meta.CurrentUserField(update_on_edit=False)
--
But the problem about User management is not solved :(
--~--~-~--~~-
I created a simple model "articles" and I added field:
author = meta.ForeignKey(User,editable=False)
When I add new artcicle I want to assign to this field the current user
ID, but so far no luck :(
I tryed:
def _pre_save(self):
from django.models.auth.users import User
self.author = Us
There is all my virtualhost config:
DocumentRoot /home/gacha
ServerName gacha.id.lv
ServerAlias www.gacha.id.lv
ServerAdmin [EMAIL PROTECTED]
AllowOverride All
Options None
Order allow,deny
Allow from all
If I write:
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonPath "['/home/gacha/poll'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE myproject.settings
PythonDebug On
then I get error: EnvironmentError: Could not import
DJANGO_SETTINGS_MODULE
But when
30 matches
Mail list logo