-
Notifications
You must be signed in to change notification settings - Fork 55
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
Unable to initialize architect using Django #2
Comments
Anyway, setting the PYTHONPATH to my current folder, works. |
Hi! If I understood you correctly, architect was unable to find your models and you managed to get it working after modifying PYTHONPATH, right ? |
Yes, correct. |
same problem |
I had this same problem, also might need a documentation warning for django users that you can't use foreign keys like
instead use:
|
Initializing problem with Django will be fixed in the next version, thank you all guys for reporting this. @budlight Anyway I highly appreciate any reports about all the problems you have or any other suggestions. |
I don't have your test suite setup not sure all the ins and outs of it but something like
then
should trigger an exception, not the best test, but like I said haven't tried out your test suite |
MySQL does not support foreign keys on partitioned tables. Foreign keys not supported for partitioned InnoDB tables. Partitioned tables using the InnoDB storage engine do not support foreign keys. More specifically, this means that the following two statements are true:
|
@maxtepkeev could you tag a new version ( |
@pajooh Yeah, I know. The problem is that there are several other important bugs that should be fixed before the next release will be possible. I didn't have a time for this project until now, now I'm in the process of rewriting some parts of it and fixing the bugs, so expect a new release in the next few weeks. |
Fixed in v0.3.0. Please see docs, because Architect was almost completely rewritten. @gotlium I didn't completely get what your comment was about. If it is still relevant, please open a new issue with detailed description of the problem. |
Hi.
I'm not able to initialize architect using Django
I'm trying using:
architect partition --module mdata.models
where mdata is my app and models the module with my partitioned model.
I'm using virtualenv and my current path is where "mdata" exists.
The text was updated successfully, but these errors were encountered: