On Thu, Oct 16, 2008 at 11:44 AM, Jorge Vargas <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 16, 2008 at 8:33 AM, Antti Niinikoski
> <[EMAIL PROTECTED]> wrote:
>>
>> Thanks Florent!
>>
>> FYI: if someone wants to update the old identity model, here is what i
>> did to get it to work:
>>
>> - added the get_encryption_method to the User as founded in a freshly
>> started project
>> - modified the validate_password method to be the same as in a freshly
>> started project
>>
> A patch will be nice. Also we need to provide this in the migration
> from alpha5 to alpha6.
>
this is the changeset http://trac.turbogears.org/changeset/5540
I currently don't have a trunk install of TG2 but the following will
generate a proper patch to be applied to older projects
quickstart with >5539
quickstart with 5540
copy both files to the same folder (with a different name of course)
then run diff file1 file2 > fix_trunk_model.patch
this way you will create a non-directory patch which is useless for
other cases but in this one people will just have to:
cd into model dir
patch -p0 < fix_trunk_model.patch

and it will fix all broken models, that is of course if you haven't
changed your identity code.

>> Thanks again
>> Antti
>>
>> On 16 loka, 15:51, "Florent Aide" <[EMAIL PROTECTED]> wrote:
>>> On Thu, Oct 16, 2008 at 1:20 PM, Helio Pereira
>>>
>>> <[EMAIL PROTECTED]> wrote:
>>>
>>> > Not for "elixir". In "elixir" don't import sha and md5...
>>>
>>> I was not answering your email sorry. I said I fixed the original
>>> poster's problem in the SVN yesterday. As per the import errors I had
>>> no such problems yesterday night but I still need to complete the
>>> functionnal tests I intend to commit...
>>>
>>> I don't use Elixir. I don't develop with Elixir. Elixir is not my
>>> primary target, as such my first and foremost objective is to complete
>>> a working identity support from framework to app with unit tests et
>>> al. Once this is done I'll begin to look at Elixir support. And in
>>> those quarters the buildbot nightly tests will help detect problems
>>> that I won't see on the spot.
>>>
>>> Florent.
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to