with a custom manager.
Does someone have a better approach, or feedback?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
a time-stamp and the request.user .
>
> But is there a way to open the form, looking to see if the user already
> has entered some data, then populate the form with that data. But if the
> user does not have a entry in the database, then presenting an empty form. ?
--
Thomas Guettler,
Thank you Peter.
But list_display does not get used on the edit page of an object.
If you use raw_id the ID of the foreign key gets displayed right to the
input field. It would be nice to make it a hyperlink.
HTH,
Thomas
Peter Bengtsson schrieb:
>
>
> On 3 Aug, 10:12, Thomas
Hi,
How can I display a link to the edit page of a foreign key?
Example:
class Place:
city=models.ForeignKey(City)
In the admin page of the place I want a link to the city admin page.
Regards,
Thomas Güttler
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli
would be better.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
I am sorry for the noise: The slug primary key of the inline model
needs to be displayed. Now it works. Nevertheless silently ignoring
errors like admin does sometimes is bad.
Thomas Guettler schrieb:
> ... replying to myself
>
> In django trunk this was fixed.
> http://code.djang
... replying to myself
In django trunk this was fixed.
http://code.djangoproject.com/ticket/10992
Still looking for a solution in 1_0_X. Unfortunately I don't get a stacktrace,
but the inlines are just missing.
TEMPLATE_STRING_IF_INVALID does not get used.
Thomas
Thomas Guettler schrieb
ock the server.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
gt; normally do "touch dispatch.fcgi" which is working with templates and
> urls but with views and forms I get nothing different. I tried other
> browsers and cleared my cache as well.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: g
ables that wrongly display nothing are still empty.
>
> I tried to give each site a different site_id, but it doesn't help.
>
> Help would be very much appreciated,
>
> Thank you
>
> Francis
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) th
with the
same database connetion will roll back, too.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
not be
> committed to the database? I am not getting any exceptions being
> raised, the code executes as though it has all worked perfectly.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You
the admin
> interface without any problems
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group
Hi,
I use Emacs for editing and assert and logging for debugging.
Joshua Russo schrieb:
> I'm currently using Netbeans 6.5 with the Python plugin. I was just
> wondering what everyone else is using because NB is a bit buggy with
> the Python plugin at the moment.
--
Thomas Guett
t is sort of like the CommanSeparatedIntegerField that comes with
> django, but for String.
>
> Thank you very much in advance.
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You
for a single user.
I created a cookie based middleware:
http://www.djangosnippets.org/snippets/1459/
Happy Hacking,
Thomas Güttler
#4604 Session based Middleware: http://code.djangoproject.com/ticket/4604
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Christian Joergensen schrieb:
> Thomas Guettler wrote:
>> Hi,
>>
>>
>> For forms which display a list of results I use:
>> form=QueryForm(request.GET)
>>
>> queryset=MyModel.objects.filter(**form.cleaned_data)
>>
>> But, n
().
Wouldn't it be nice to have a "not" field lookup? Example:
MyModel.objects.filter(field__not=...)
MyModel.objects.filter(field__not__in=...)
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-gue
rgv) {
> System.out.println("Checking if Driver is registered with
> DriverManager.");
> ...
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you
e in applications. A project
is quite small. It is just a container and configuration for several
applications.
> Do I have to bite the bullet and merge the databases , views files,
> settings etc etc?
Does every project have its own user management?
HTH,
Thomas
--
Thomas Guettler, http:
s bad? I can
> see it adding up on views with many queries, but that's my goal:
> collect stats about actual production views where the query count/view
> time/rendering time may vary from development.
>
> Or even better: does anyone have this written? I didn't see it on
> django s
Graham Dumpleton schrieb:
>
>
> On Mar 31, 1:43 am, Thomas Guettler <h...@tbz-pariv.de> wrote:
>> Hi,
>>
>> If you only change the method, but no model, you don't need to call 'syncdb'.
>>
>> If your webserver is configured correct, then you just
gt; I have changed this method but no change is observed in the web page. It is
> still working the old model method.
> How can update this?
> python manage.py sqlall
> and
> python manage.py syncdb
>
> doesn't seem to work. Could anybody help me?
>
>
--
Thomas
locals(), [name])
method=getattr(module, name)
return method(request)
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
in the admin gets too slow since this model tries to fill the SELECTs
> with all the posible values and the MASTER table is BIG .
>
> Is there a way to make this faster ??
>
> Thank you
--
Thomas Guettler, http://www.thomas-guett
render_to_response('bmi/newbuild.htm',
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
>
>>>> book2.publisher
>
>
> # after using remove() to remove book1, book1.publisher is empty
>>>> pub.book_set.remove(book1)
>>>> book1.publisher
>>>> pub.book_set.all()
> []
>
> # Now book2 references pub. After using clear(), book2.pu
s, like to à
> is there any template tag filter which can do that?
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&
-
> and-select window). A ModelLookupField?
>
> This must be such a common scenario that I'd be interested in hearing
> how other people solve it. I can't find anything in the documenation
> on it.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
form.Form):
def clean(self):
if threadlocal.request.user .
threadlocal=threading.local()
def view(request):
threadlocal.request=request
mform=MasterForm()
}}}
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~---
(in a thread safe way) on module level?
I recall that someone said this is not good. What are the pro and
contra arguments?
Most of the time I need request.user to hide some input fields.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
ether calling make_car_form with
> extra=True or extra=False.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
/www.b-list.org/weblog/2008/nov/09/dynamic-forms/. When I try to view
> the page, when there's my own __init__ method in CarForm class, then the car
> form doesn't contain any field. When i remove the __init__ method,
> everything works correctly. How to add a field to a form during a
tion would be this: subclass User and override delete() and use this
class for
as foreign key.
But I would prefer a different solution.
[1] http://code.djangoproject.com/ticket/7539
Add ON DELETE and ON UPDATE support to Django
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli
Windows msi installer, for
> example 2.5.4, I could run the following command from the windows cmd
> prompt (or from inside my build script):
>
> msiexec /a C:\python-2.5.4.msi /qn TARGETDIR=C:\python
...
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail:
something
like this.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
variables in the
> email?
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
orphaned connections or
> anything like that. The script loops through some files, parses them,
> and makes ORM calls. Sooner or later, it stops looping and gets stuck
> in a transaction and the only way to fix it is to terminate the script.
--
> encoder.JSONEncoder().encode(ret)
Or this:
>>> from django.utils import simplejson
>>> simplejson.dumps(...)
But unfortunately this does not encode datetime objects.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de
suggest that if you set max_entries to zero, _cull() is not called.
Before I open a ticket, I ask for feedback.
Anyone?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received
an be written in some hours if you are familiar with
django. And very complex things can be done, too:
Welcome to python and django
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You
return render_to_response('html/404.html')
>
> Is there a neater way of doing this - rather than finding the request
> type and behaving differently depending.
>
> I am doing a similar thing for my update and it just seems off.
>
> Please help.
r the question mark.
BTW, I think urlencode has a bug:
http://code.djangoproject.com/ticket/9089
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed
: Of course this would be nice for all N:M relations.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
in,
>
>
URLs are beautiful if they don't change (you can bookmark them) or send
as them link.
Sessions get deleted sooner or later.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You
or
settings.FOO.
I never used a logging.conf file.
HTH,
Thomas
BTW: This is a pure python question. You get more and better answers
on the newsgroup comp.lang.python.
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thoma
tter for
caching, since all users share one cache:
example:
if the first user calls this:
http://.../myprojec/.../page_number=1=abc
and a other user calls the same URL, you could use a cache
for the second request.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guett
Tim Daniel schrieb:
>
> On 22 ene, 16:17, Thomas Guettler <h...@tbz-pariv.de> wrote:
>
>> Tim Daniel schrieb:> I read something that it would be more
>>
>>> efficient to store only the query and doing pickle?? I don't know how
>>> to do tha
r']=page_number-1
prev='' % qs2url(qs)
qs['page_number']=1
first='' % qs2url(qs)
else:
prev=''
first=''
first=mark_safe(first)
prev=mark_safe(prev)
next=mark_safe(next)
last=mark_safe(last)
--
Thomas Guettler, http://www.thomas-guet
orm when they view the page. Since the form definition doesn't
> have access to the request object, I presume this is not possible.
>
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
Y
data without the form
> automatically calling submit on the form so that the validation
> messages don't appear in the rendered template?
>
>
>
Hi,
Check the docs for "initial".
Thomas
--
Thomas Guettler, http://www.thomas-guettle
l(sid))
[Fri Jan 16 11:16:57 2009] [error] [client 172.17.6.34]
ProgrammingError: current transaction is aborted, commands ignored until
end of transaction block
Has someone a hint how to fix this?
Thomas
--
Thomas Guettler, http://www.thomas-gue
yourapp_yourmodel_id_seq ;
Thomas
thomasbecht...@googlemail.com schrieb:
> Hi all,
>
> Problem: I want to use Transaction to save data to a postgresql-db.
> Error: IntegrityError: doppelter Schlüsselwert (double keyvalue)
> verletzt (harm) Unique-Constraint
> ...
--
Thomas Guettler,
## This is the
> line that is giving me the error!!
>
> Whenever I do a search where the user enters a minimum price and
> selects a sizeI get the error:
>
> 'ValueError at /search/ too many values to unpack'
>
> The error comes from the line 'styles = styles.select_related().filter
the callback method the way, that it can be called
several times (for example: check if change was already done before
changing something)
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You
in
+the handler, if created=True, create the associated user profile.
+
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
/fields/#db-index
Thomas
DB: Postgres 8.2
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
except SomeModel.DoesNotExist:
...
or
m, created = SomeModel.objects.get_or_create(pk=request.user)
To my original question: Yes, I will use a signal handler to create the
profiles. Thank you
for your answers (Milian Andric).
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E
ets.org/snippets/1060/
You should look at the python documentation of datetime.timedelta, too.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are sub
all fields of my profile model have default values, it could be
created it on the fly.
Since I don't want to run a modified django, I will use my own
get_profile method.
Does some know this problem? How do you solve this?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
uot;foo_belegartrequiredgroup"."permission_id",
"foo_belegartrequiredgroup"."group_id" FROM "foo_belegartrequiredgroup"
WHERE ("foo_belegartrequiredgroup"."belegart_id" = 1142 AND
"foo_belegartrequiredgroup"."permi
f logbook_no_page(request):
>
> return HttpResponse(location='/foobar-page-55')
>
>
> but that obviously doesn't work. How can I do this?
>
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~--
g/snippets/1064/
The (flash) message is stored in a cookie.
But I think the snippet is not thread safe. Has anyone a working example?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
Yo
ed (useful for multipart/alternative messages) and the
mimetype
is guessed, if not provided.
If the first parameter is a MIMEBase subclass it is inserted
directly
into the resulting message attachments.
"""
--
Thomas Guettler, http://www.
Filip Wasilewski schrieb:
> On 2 Gru, 16:45, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> I want to get all objects where the corresponding many-to-many field is
>> empty.
>>
>> Example: get all users without a group
>>
&
jango ORM, it will
> report 'ValueError hour must be in 0..23'.
>
> I'm porting a old program that record rum times of the machines to
> Django, so 24 hours is not enough for my new program.
>
> How can I resolve it ?
>
>
--
Thomas Guettler, http://www.thomas-guettl
f",
"auth_user"."is_active", "auth_user"."is_superuser",
"auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user" WHERE
NOT ("auth_user"."id" IN (SELECT U1."user_id&quo
elate to this entity from any
> other model.
>
> We can of cause create our own user authentication without embedded
> user authentication in Django, but is this the best solution?
> I hope you understand our problem.
>
> Thank you.
> Regard
> Nucles
>
>
> >
>
estcase. Can you write one?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Jarek Zgoda schrieb:
> Wiadomość napisana w dniu 2008-11-26, o godz. 10:20, przez Thomas
> Guettler:
>
>
>> I am missing order by nulls [first|last]
>>
>> Either I am blind, or it is not possible.
>>
>
>
> I think this is database-depe
Hi,
I am missing order by nulls [first|last]
Either I am blind, or it is not possible.
Do other miss this, too?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received
Russell Keith-Magee schrieb:
> On Tue, Nov 25, 2008 at 7:21 PM, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> If GET or POST contain a list, I only see the last value in the debug view.
>>
>> What do you see on an uncaught excepi
Hi,
If GET or POST contain a list, I only see the last value in the debug view.
What do you see on an uncaught excepion with e.g. "?foo=1=2" as
query string?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-gue
N only on systems with "C" and "pl_PL".
> There is no need to use LocaleMiddleware if you do not want to change
> translations (eg. depending on browser settings).
>
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-
ocaleMiddleware installed.
Maybe this setting is different on your server?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
u use date
objects (datetime.date.today()) in a template.
You need to use the "date" or "time" filter. I think this is redundant.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
Hi,
> Although I would have to wonder why you're doing it this way, rather
> than using the database to sort them?
Since in my case it is easier. I need to filter out some item before.
This calculation
needs to be in python code.
Thomas
--
Thomas Guettler, http://www.thomas-guettler
(view_groups)!=set(change_groups), (view_groups,
change_groups)
Is there a reason why this is this way?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you
code you can use the traceback
module
and print the stacktrace.
Be sure that you access the module only in one way:
e.g. always "myapp.modules". Not sometimes "myproj.myapp.modules".
HTH
Thomas
--
Thomas Guettler, http://www.thomas-gu
; Thanks
> Alistair
>
> [1] http://docs.djangoproject.com/en/dev/topics/db/models/#id6
> >
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message bec
gs
> PythonOption DJANGO_SETTINGS_MODULE testproject.settings
> PythonAuthenHandler django.contrib.auth.handlers.modpython
>
>
> However, it complains that it cannot find /dev/null. Is there
> something I can use instead of /dev/null for use on windows?
>
> Thanks
>
>
that subject.
> so, i think it would be more user friendly to have 3
> choicefields: the first one for the day of the week,
> the second one for the "from time" field and the last one
> for the "to time" field.
>
--
Thomas Guettler, http://ww
at forms/form.py ... def full_clean(). I could copy
this method an write a utility function which only works
for one field. But that is not a good solution.
Do other people need this too? If yes, I could write a proposal with patch.
HTH,
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de
ind of data do you have?
Why do you want it to split?
Maybe you just need to write a own Widget which sublcasses
from MultiWidget and override the render method?
HTH
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) th
rptime() function. I've noticed
> that this works correctly in python, but when i run it within a django
> environment it doesn't seem to work. Example, in python:
>
> ...
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) th
m/en/dev/ref/contrib/admin/
http://groups.google.com/group/django-users/browse_thread/thread/536e86280059a1f9
HTH,
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message
ea on how I can test the
> content of this page?
>
>
302 is redirect. There is no content.
You hit this line:
> return HttpResponseRedirect('/resultsdb/newresults')
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: gu
For example,
>
> "http://127.0.0.1/sampleview/?obj=xxx; , but seems django cannot
> handle such pattern.
>
> Does any one know this, or are there any relevant doc I can learn for
> this. Your precious suggestion would be highly appreciated!
>
>
--
Thomas Guettler, http:
st:
try:
return string.decode(enc, errors)
except UnicodeError, exc:
continue
raise UnicodeError('Failed to convert %r' % string)
HTH,
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thoma
lue. If I don't find
> it, I insert the row along with the checksum. If I find it, I just
> reject the insert and send the appropriate message to the response.
This might be possible, but I would handle this outside the save method.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de
, too.
Not an easy task. Has some tried this already?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send em
cursor.execute(u'''UPDATE myapp_mymodel SET
content=%s::tsvector where id=%s''', [tsvector, self.id])
The column "content" of type tsvector is created by a SQL snippet named
mymodel.sql.
HTH,
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: g
umb_list.append, but returns read-only error on 'list'
>
> any help would be apprec-ated.
>
> thank you
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message b
,
I choose the full text index of postgres.
I wrote an own to_tsvector method in python, instead of customizing
the to_tsvector method of postgres.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~-
sed, i.e.
> why does Django use the 500 template in this case?
>
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
Gmail schrieb:
> i found lots of snippets to download,but the server always says it is
> down.
>
Hi,
two days ago some snippets produced errors. But at least my snippets are
working again.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas
the other are still alive and
have the old code loaded.
Maybe you could try mod_wsgi. It is much more flexible.
See "Time to deprecate mod_python":
http://groups.google.com/group/modwsgi/browse_thread/thread/95c5de2b996e2f49/fe4f823a391ad954
HTH,
Thomas Güttler
--
Thomas Guettler
are on unix, go to /var/lib/apache2 and execute 'ls -ltr'
(sort logfiles by date). There should be some error log file. Maybe
this contains some more information.
BTW, mod_wsgi is much better supported and easier to handle than mod_python.
Thomas Güttler
--
Thomas Guettler, http://www.thomas-gue
101 - 200 of 348 matches
Mail list logo