Re: migrate error

2015-10-22 Thread Christoph Knapp
the db and those tables were not in there. Thanks Christoph On Thursday, October 22, 2015 at 11:31:11 PM UTC+2, Mike Dewhirst wrote: > > On 22/10/2015 10:40 PM, Christoph Knapp wrote: > > Hi, > > I have a legacy database and used "python manage.py inspectdb >

migrate error

2015-10-22 Thread Christoph Knapp
the auth_group table is below. class AuthGroup(models.Model): name = models.CharField(unique=True, max_length=80) class Meta: db_table = 'auth_group' I just started with django, so let me know whether you need anything else. Regards Christoph -- You received this mess

Re: django 1.8 , makemigrations throwing errors

2015-10-21 Thread Christoph Knapp
Key(AuthPermission) class Meta: db_table = 'auth_user_user_permissions' unique_together = ['user_id', 'permission_id'] For some reason when the code for the django tables is generated it does not use the correct field names. Only the other errors le

Re: django 1.8 , makemigrations throwing errors

2015-10-21 Thread Christoph Knapp
mission_id = models.ForeignKey(AuthPermission) class Meta: db_table = 'auth_user_user_permissions' unique_together = ['user_id', 'permission_id'] [code] On Wednesday, October 21, 2015 at 1:11:40 PM UTC+2, Christoph Knapp wrote: > > Hi, > I have

Re: django 1.8 , makemigrations throwing errors

2015-10-21 Thread Christoph Knapp
| Tabelle | christoph_knapp public | protein_information| Tabelle | christoph_knapp public | protein_sequences | Tabelle | christoph_knapp public | substrate | Tabelle | christoph_knapp (17 Zeilen) If anyone could help with the errors from the django tables (maybe

Research study: Structuring software documentation around tasks and concepts

2013-08-25 Thread Christoph Treude
p you search and navigate the documentation available on https://docs.djangoproject.com/en/dev/. By the end of our project, we hope to develop a search interface to make it easier and more efficient to navigate the Django documentation. Thank you! Christoph -- Christoph Treude, Prin

Re: duplicate key value violates unique constraint "django_admin_log_pkey"

2012-09-18 Thread Christoph Pingel
Thanks, this helped me too 2 years later.. :-) On Thursday, October 14, 2010 6:23:37 PM UTC+2, reduxionist wrote: > > On 14 ต.ค. 2010, at 22:24, glob...@iamsandiego.com wrote: > > > Hi Folks, > > > > After updating a postgres db for my django app Iam getting this error > > when I try and save ne

Re: WSGI eating search args?

2011-02-24 Thread Christoph Pingel
Thanks, I tracked it down. Nothing to do with WSGI, it's just that SQLite doesn't support REGEXP on the target platform. best regards, Christoph On Feb 24, 12:22 pm, Tom Evans wrote: > > You get a 500 if your view raises an exception. Since you aren't > showing the

WSGI eating search args?

2011-02-24 Thread Christoph Pingel
em could be? django 1.2.5, apache2. TIA, best regards, Christoph -- 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 django-us

Re: Project-wide tests

2010-10-09 Thread Christoph
Hi Diogo, I had the same problem (and so did others as I found out). As far as I am aware, there isn't a decent solution. Roberto's approach would work, alternatively I always ended up creating an app "test" in my project where I then write the tests in. Best regards, Christ

Re: I can't select day with calendar widget

2010-10-09 Thread Christoph
Hi Rene, I tried to replicate your problem. I selected the 10th of October 2010, 2010-10-10 is set in the field and I can also safe it as such. So, try again and see if the problem is still there. Best regards, Christoph On Oct 9, 12:46 pm, Rene Vielma wrote: > Hello > > I'

Re: File sharing service on Django?

2010-07-28 Thread Christoph
st whether a download was completed or dropped or the like.) Comments welcome! Best regards, Christoph On 27 Jul., 22:55, Artem wrote: > Is there any painless way to make Django able to serve files with one- > time urls, like in RapidShare? > First thought - use django.views.static.serve

Re: File - .dat

2010-06-17 Thread Christoph
eople on this mailing list have no idea what you are doing and probably don't even care unless it is either interesting or they can help you. I am happy to help if I can but I don't want to spend time deciphering your mail. Best regards, Christoph PS: http://www.catb.org/~esr/faqs/smart-questio

Re: Multiple AJAX sends within a views.py-function

2010-06-16 Thread Christoph Siedentop
uld > reconfigure the server to have fewer threads and add delays into the > calculations to make it easier to test. > I am writing exams right now but I should test this sometime. Thanks for pointing it out. Cheers, Christoph -- You received this message because you are sub

Re: Multiple AJAX sends within a views.py-function

2010-06-15 Thread Christoph Siedentop
y GPL'ed. It would be for people like me, who have lots of data and want to make them available interactively. Regards, Christoph On Mon, Jun 14, 2010 at 12:13 PM, Ian McDowall wrote: > As the other posters say, this is not possible with standard HTTP and > certainly not with Django. >

Multiple AJAX sends within a views.py-function

2010-06-11 Thread Christoph
send_json(do_something(item)) # send_json() is the crucial (non-existing) function that I am looking for return None # or maybe return Done or something like it Best regards, Christoph -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: foreign key id as part of models.FileField(upload_to=...)

2009-03-14 Thread Christoph Wegscheider
) very much. I tried it meanwhile and stumbled over the filename myself :), additionally I omitted the MEDIA_ROOT part as it seems to be done automatically. If I use it, the img.url output is wrong (shows the absolute path instead of the relative one). Christoph --~--~-~--~~--

foreign key id as part of models.FileField(upload_to=...)

2009-03-14 Thread Christoph Wegscheider
s not yet available). Nevertheless, I'm sure I can use the foreign key id for albums somehow as part of the path, but how? Any hint will be appreciated. Thanks, Christoph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Foreign Key query question

2009-03-08 Thread Christoph Wegscheider
On 8 Mrz., 18:54, Daniel Roseman wrote: > On Mar 8, 3:50 pm, Christoph Wegscheider > > > > wrote: > > Hi, > > I have the following model: > > class Message(models.Model): > >     student = models.ForeignKey(Student,  blank=True,  null=True) > >

Foreign Key query question

2009-03-08 Thread Christoph Wegscheider
Hi, I have the following model: class Message(models.Model): student = models.ForeignKey(Student, blank=True, null=True) message = models.CharField(max_length=200) I want to filter for: message_list = Message.objects.filter(student=1) OR message_list = Message.objects.filter(student=Non

dynamic search forms

2009-03-05 Thread Christoph Pingel
initially known server side? I could come up with some handcrafted solution, but I'm looking for best practices here to avoid unnecessary trouble. best regards, Christoph --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Querying for an item with two values in a Many-To-Many Relation

2008-06-20 Thread Christoph Neuroth
Theres still a problem with this :( Request.objects.filter(parameters=1, parameters=2) is not the same as Request.objects.filter(parameters=2, parameters=1) However the following two queries seem to be working as expected now (i'm pretty sure they didnt work when I tried it the last time - or I h

Re: Querying for an item with two values in a Many-To-Many Relation

2008-06-20 Thread Christoph Neuroth
Hi, just did an svn update, your code works. I tried that before but it wasnt implemented in my older version. Thanks a lot :) chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Querying for an item with two values in a Many-To-Many Relation

2008-06-20 Thread Christoph Neuroth
Hi django-users :) I'm currently working on my first real django project and got stuck using the DB API: I defined these models: ---snip--- class RequestParameters(models.Model): parameter = models.CharField(max_length=64) value = models.CharField(max_length=64) class Request(models.Model):

Re: SetEnv on production Server

2008-01-29 Thread Christoph Egger
Anton P. Linevich wrote: > Greeting, Christoph! Mon, Jan 28, 2008 at 08:46:38PM +0100, Christoph.Egger > wrote: >> Invalid Command 'SetEnv', perhapes misspelled or defines by a module >> not included in the server configuration. > > Maybe you need

SetEnv on production Server

2008-01-28 Thread Christoph Egger
All I found on the net is an forum at <http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_22010802.html?qid=22010802> which unfortunately doesn't view anythin unless you pay. Any advice for me? Christoph signature.asc Description: OpenPGP digital signature

Re: Inclusion-Tag + Admin

2008-01-20 Thread Christoph Egger
Christoph Egger wrote: > Christoph Egger wrote: [..] > > Well sorry for asking to early. These things seem to be solved by > creating a File templatetags.py in the appropriate app and adding a > __str__() Function to the models. > > But now there is an > > Attribute

Re: Inclusion-Tag + Admin

2008-01-20 Thread Christoph Egger
Christoph Egger wrote: > Hi > > I've two problems I can't solve with the documentation. > > 1. I was adviced to use Inclusion-Tags for my Menu but I can't work out >how to load the library. {% load proj.app %} doesn't work nor >{% load proj.app.m

Inclusion-Tag + Admin

2008-01-20 Thread Christoph Egger
e object« for all my movies. I looked across the models reference but couldn't make up where to set the title that should be used for referencing in admin-backend Thanks Christoph -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: h

Re: Integrating TinyMCE in django.contrib.flatpages

2008-01-12 Thread Christoph Egger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Christoph Egger wrote: > Hi > > I'm trying to use TinyMCE within flatpages. I followed the instructions > given on code.djangoproject.com > > http://code.djangoproject.com/wiki/AddWYSIWYGEditor > > but TinyMCE won

Integrating TinyMCE in django.contrib.flatpages

2008-01-12 Thread Christoph Egger
el(Firefox)). Currently I'm serving TinyMCE from my apache and my Django Project from the test-server but serving both from apache doesn't change anything. I could not make the site available as for now the production webserver isn't set up for django. Christoph -BEGIN PGP SIGNATURE--

Re: Menus and such [starting to use django]

2008-01-11 Thread Christoph Egger
te-system. Christoph -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHh8tpy7PXBwNyJ10RCqQtAJ0Tq4d2LPorDki213jLqGpkw0W8XQCeLhxP jgmBGZ6+c+vaWyVxmDhDswk= =0YaO -END PGP

Menus and such [starting to use django]

2008-01-11 Thread Christoph Egger
to some resources for this kind of django webiste coding and/or give me some advice for it? Christoph signature.asc Description: OpenPGP digital signature

Re: Integrate xmpppy with django

2007-10-10 Thread Christoph Rauch
x domain sockets. Domain sockets are great, because you can restrict access to it with basic filesystem rights. Christoph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

A Semantic Web CMS

2007-04-23 Thread Christoph Pingel
cture, psychology, physics, cognitive scienence. If you'd like to look at the current implementation: http:// www.christoph-pingel.de/paragon/objectpage/George_Lakoff Comments, proposals, criticism are welcome. I'm quite new to django, so perhaps I'm missing some things to make

Internal Server Error (Apache+mod_python) - why?

2007-01-28 Thread christoph seiler
Hi there I tried to install mod_python according to this installation guide: http://www.djangoproject.com/documentation/modpython/ However, I get a "Internal Server Error (500)" when calling my url. I do _not_ get any feedback in _any_ apache log file! What could be the cause? My System: Debi

PostgreSQL schema support

2007-01-05 Thread Christoph Haas
ents. Or is PostgreSQL an uncommon DBMS to use with Django? (btw, is there a reason to prefer psycopg over psycopg2?) I can of course restrain myself to the "public" schema but my application would benefit from different schemas. Kindly Christoph --~--~-~--~~~-