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
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
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
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:
>
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
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):
>
6 matches
Mail list logo