On Apr 8, 4:01 pm, Andy <
andy.lists.ban...@gmail.com> wrote:
> In the controller I see several #TODO SQLAlchemy with nothing
> following. Should this worry me? The introduction says tg-registration
> supports Alchemy.
>
Can you point me to someplace where you are seeing this? Because I'm
having trouble finding it in the most recent controller.
http://tinyurl.com/5okg4r
In a python shell, try:
> from registration.release import version
> print version
The latest released version is 0.4.
To answer your question, SQLAlchemy is fully supported.
> Related question: When I do quickstart template install of tg-
> registration, it prints out a list of config variables when it starts.
> I notice that my variables say "Elixir = False" even though my project
> is using Elixir, and it produces a model for sqlalchemy. Would it
> generate me an Elixir model if that variable had set properly? I'm
> having to hack away trying to integrate it.
>
> Thanks.
No matter what you do, registration will not generate an Elixir model.
Sorry, it's just something I haven't gotten around to. I didn't
realize it might cause problems for someone. But, unless you are
dealing with relations, I would imagine that it would just involve
adding the fields you need to the Table class declarations. Or is it
that your Elixir classes are having trouble integrating / referring to
the registration ones?