Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some important adaptions done while developing Gidsy.com #1

Open
wants to merge 112 commits into
base: master
Choose a base branch
from

Conversation

philippWassibauer
Copy link
Owner

Sendgrid reply support
Small bug removals
Many assumptions of old project removed

@webbill
Copy link

webbill commented Sep 29, 2012

how can i use the django-threaded-messages in my project?When I syncdb,the system always notices errors……

@philippWassibauer
Copy link
Owner Author

which version of django-threaded-messages and Django are you running and what are the errors you are getting?

@webbill
Copy link

webbill commented Oct 1, 2012

I use the newest django-threaded-messages and Django1.3 on windows 7.
In my settings.py:
in INSTALLED_APPS I add 'notification' and 'threaded_messages', but when I using command that python maange.py syncdb,the system says:

e:\web\zc>python manage.py syncdb
Creating tables ...
Creating table notification_noticetype
Creating table notification_noticesetting
Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File "D:\Python26\Lib\site-packages\django\core\management__init__.py", line 438, in execute_manager
utility.execute()
File "D:\Python26\Lib\site-packages\django\core\management__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "D:\Python26\Lib\site-packages\django\core\management\base.py", line 191, in run_from_argv
self.execute(_args, *_options.dict)
File "D:\Python26\Lib\site-packages\django\core\management\base.py", line 220, in execute
output = self.handle(_args, *_options)
File "D:\Python26\Lib\site-packages\django\core\management\base.py", line 351, in handle
return self.handle_noargs(**options)
File "D:\Python26\Lib\site-packages\django\core\management\commands\syncdb.py", line 101, in handle_noargs
cursor.execute(statement)
File "D:\Python26\Lib\site-packages\django\db\backends\util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "D:\Python26\Lib\site-packages\django\db\backends\mysql\base.py", line 86, in execute
return self.cursor.execute(query, args)
File "C:\Python26\Lib\site-packages\MySQLdb\cursors.py", line 166, in execute
File "C:\Python26\Lib\site-packages\MySQLdb\connections.py", line 35, in defaulterrorhandler
_mysql_exceptions.OperationalError: (1005, "Can't create table 'zongce_201209301630.#sql-690_9' (errno: 150)")

zongce_201209301630 is my MySQL database.
How can I to do something to solve the error?Thank you very much.

@webbill
Copy link

webbill commented Oct 1, 2012

Now I meet a new error.

can't find site_base.html

Would you mind providing a example to using the django-threaded-messages in a new project?Thank you you so much.

@frbry
Copy link

frbry commented Oct 20, 2012

@webbill site_base.html is jut an assumption, i presume. just rename it to the name of your base template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants