Re: looking for simple comment app

2009-10-14 Thread aschmid
this article helped me a lot! http://www.yashh.com/blog/2008/nov/21/django-comments-authenticated-users/ On 14 Ott, 09:17, andreas schmid wrote: > hi, > > im looking for a simple comment app. > i need commmenting for instances only by logged in users and the author > is obviously request.user, d

Re: problems (with mysql and) wsgi

2009-10-09 Thread aschmid
sry... mysql is not the problem. it should be a strict wsgi issue... anyway i cant understand the problem. could it be that root should have write permissions to the media folder because apache is started as root? On Oct 9, 3:53 pm, andreas schmid wrote: > hi, > > im experiencing problems with m

Re: django and model field translations

2009-09-16 Thread aschmid
so i checked a few apps and im between django-transmeta and django- multilingual, not sure yet what i should use. i have only one field for every model which i want to be multilingual. the easier approach would be the transmeta package at a first look... is there anybody with a bit of experience

Re: django profiles question and http404

2009-09-03 Thread aschmid
as usual i solved by myself! with something like this: user = User.objects.get(username=username) try: profile_obj = user.get_profile() except ObjectDoesNotExist: return HttpResponseRedirect('/some/path/') thank you anyway... On Sep 3, 4:16 pm, andreas schmid wrote: >

Re: question about custom save() and unique slug

2009-08-25 Thread aschmid
i solved it with: def add_project(request): if request.method == 'POST': form = ProjectForm(data=request.POST) if form.is_valid(): new_project = form.save(commit=False) new_project.slug = new_project.title.lower().replace(' ','-') new_projec

Re: generic views - please bring me to the point

2009-08-07 Thread aschmid
i got it!! the app was not in the pythonpath... :) On Aug 7, 3:00 pm, andreas schmid wrote: > hi all, > > im really going crazy now i cant figure out where the code is wrong... > i have a really simple model: > > from django.db import models > import datetime > >     class Post(models.Model): >