Comments (9)
Hello you can test the develop branch for 1.7.x support and send us feedback or pull requests
http://www.firebirdnews.org/firebird-django-1-7-support-experimental/
from django-firebird.
Good Afternoon,
I have started trying to get Python(3.43x86) Django(1.8), Mezzanine(4.01), Cartridge(0.10.0) and fdb(1.4.10) Firebird (2.54) to play nice. I have checked out django-firebird 1.6.4 from GIT and run "python setup.py install" to install it into the virtual environment.
I am currently running in a Windows 7 Environment.
Initial changes to files to cover not found errors. Lines beginning with # were original lines in those files that I commented out and then replaced. (Sorry I am still catching up on the use of GIT)
operations.py
#from django.db.backends import BaseDatabaseOperations, util
from django.db.backends import utils
from django.db.backends.base.operations import BaseDatabaseOperations
client.py
#from django.db.backends import BaseDatabaseClient
from django.db.backends.base.client import BaseDatabaseClient
creation.py
#from django.db.backends.creation import BaseDatabaseCreation
from django.db.backends.base.creation import BaseDatabaseCreation
introspection.py
#from django.db.backends import BaseDatabaseIntrospection
from django.db.backends.base.introspection import BaseDatabaseIntrospection
base.py
from django.db.backends.base.features import *
from django.db.backends.base.validation import *
from django.db.backends.base.base import *
Now I am currently getting the error below which is a bit vague.
(mezzcartfb) e:\work\git\venv\mezzcartfb\mezzcartfb>python manage.py createdb
e:\work\git\venv\mezzcartfb\lib\site-packages\mezzanine\utils\conf.py:51: UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django requires. Will fall back to the domains configured as sites.
warn("You haven't defined the ALLOWED_HOSTS settings, which "
Traceback (most recent call last):
File "manage.py", line 14, in
execute_from_command_line(sys.argv)
File "e:\work\git\venv\mezzcartfb\lib\site-packages\django\core\management__init__.py", line 338, in execute_from_command_line
utility.execute()
File "e:\work\git\venv\mezzcartfb\lib\site-packages\django\core\management__init__.py", line 330, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "e:\work\git\venv\mezzcartfb\lib\site-packages\django\core\management\base.py", line 393, in run_from_argv
self.execute(_args, *_cmd_options)
File "e:\work\git\venv\mezzcartfb\lib\site-packages\django\core\management\base.py", line 444, in execute
output = self.handle(_args, *_options)
File "e:\work\git\venv\mezzcartfb\lib\site-packages\mezzanine\core\management\commands\createdb.py", line 51, in handle
if "conf_setting" in connection.introspection.table_names():
File "e:\work\git\venv\mezzcartfb\lib\site-packages\django\db\backends\base\introspection.py", line 57, in table_names
return get_names(cursor)
File "e:\work\git\venv\mezzcartfb\lib\site-packages\django\db\backends\base\introspection.py", line 53, in get_names
return sorted(ti.name for ti in self.get_table_list(cursor)
File "e:\work\git\venv\mezzcartfb\lib\site-packages\django\db\backends\base\introspection.py", line 54, in
if include_views or ti.type == 't')
AttributeError: 'str' object has no attribute 'type'
(mezzcartfb) e:\work\git\venv\mezzcartfb\mezzcartfb>
I have not yet tried the development branch as that seems to be further behind that 1.6.4 is this correct?
Any Thoughts?
Best Regards,
Adam Davin.
from django-firebird.
Hi Adam,
i did some changes to the code to work with 1.8. It is not tested and migration has to be disabled ( in the django code runserver.py disable check_migrations)
the code is forked in https://github.com/cfingerh/django-firebird
from django-firebird.
i have created a pull request for devel from your fork
#45
@maxirobaina could you review and comment ?
from django-firebird.
Hi everyone,
Yes!! I'll have a look. Thanks for contribute.
I've been a little busy lately. My idea is release a django-firebird for django 1.7 first and then work quickly into a django 1.8 support, mainly because It's a LTS version.
I hope this weekend, release a beta django-firebird 1.7
Regards.
from django-firebird.
Will this still happen? :)
from django-firebird.
I'm facing the same problem, Django==1.9
from django-firebird.
Any updates on 1.8 or 1.9 support?
from django-firebird.
The master branch contains now an alpha version with django 1.8.x supports
I'll appreciate any feedback.
from django-firebird.
Related Issues (20)
- Django 3 support HOT 11
- Support firebird dialect 1. HOT 1
- TypeError at operations.convert_decimalfield_value HOT 2
- BinaryField() does not save like stream HOT 2
- add support for firebird 3 / python 3 driver HOT 1
- Does the lib work on windows? HOT 1
- Error al conectar firebird + django 3.2.6.0 HOT 7
- Django 3.2 and firebird 3 error connection HOT 1
- 'float' object has no attribute 'quantize' HOT 1
- Django 4 and Firebird 4 support HOT 1
- Time to rename django-firebird python package HOT 2
- Error on django3 with BOOL fields HOT 1
- KeyError: 'deferrable' HOT 2
- CREATE PROCEDURE DJANGO_SITE_RS failed
- TypeError: convert_booleanfield_value() missing 1 required positional argument: 'context'
- django migration already exists
- Column unknown tablename.RDB$DB_KEY
- Time for a name change? HOT 1
- virtualenv can't be populated from requirements.txt, asgiref version conflict, upath just won't build (python 3.12, Ubuntu 23.10)
- Tests don't run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-firebird.