Changeset 278

Show
Ignore:
Timestamp:
09/30/08 13:27:09 (3 months ago)
Author:
akaihola
Message:

[threadedtopics] New topics were not saved to the database. Fixed!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/threadedtopics/views.py

    r275 r278  
    137137                ContentType, id=int(content_type)) 
    138138            new_topic.object_id = int(object_id) 
     139        new_topic.save() 
    139140        new_comment = comment_form.save(commit=False) 
    140141        new_comment.ip_address = ip 
     
    144145        if comment_model == ThreadedComment: 
    145146            new_comment.user = request.user 
     147        new_comment.save() 
    146148        if comment_model == ThreadedComment: 
    147149            if add_messages: