I try to use last version of OSQA (http://svn.osqa.net/svnroot/osqa/trunk) with MSSQL (sqlserver_ado). When I try to add question I receive error message in log 'MSG: ui_registry.py:render:26 Exception 'request' rendering ui objects <forum.modules.ui_objects.link object="" at="" 0x0287a610="">:'.

I try to install South and sync model and database. But South does not work with MSSQL in correct way. So I can't do this.

I try to checkout version *'http://svn.osqa.net/svnroot/osqa/tags/osqa-0.5'. It is work! But this is too old version. May be it is possible to create new version in which command 'python manage.py syncdb'* will create correct database structure. Can you propose any decision? Thank you.

asked 04 Nov '10, 18:15

victor's gravatar image

victor
91225
accept rate: 0%


You can just ignore south and do python manage.py syncdb --all. If you don't have south installed you don't even need to worry about that. That message in the log, if nothing is broken, you can ignore it.

link

answered 04 Nov '10, 19:56

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

What is "--all"?

>python manage.py syncdb --all

Usage: manage.py syncdb [options]

Create the database tables for all apps in INSTALLED_APPS whose tables haven't already been created.

manage.py: error: no such option: --all

I view log because I can't add new question. When I try to add question I receive:

500 Server Error sorry, system error

system error log is recorded, error will be fixed as soon as possible please report the error to the site administrators if you wish

•back to previous page

•see latest questions

•see tags

(05 Nov '10, 05:09) victor

"--all" appears when South installed. But "python manage.py syncdb --all" does not help too.

As I understand trouble in "osqaforummigrations0002_autoadd_likedcommentdel_field_repute_positive__del_field_repute_ne.py" line 22 "db.add_column(u'repute', 'value', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False)"

MSSQL does not understand syntax for "keep_default=False"?

(05 Nov '10, 05:54) victor
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13
×4

Asked: 04 Nov '10, 18:15

Seen: 558 times

Last updated: 05 Nov '10, 05:54

powered by OSQA