#1 Re: mORMot 1 » Python Authentication » 2018-03-11 19:54:10

Hello i just added a CRUD example,
i used the authentication and the ManyToMany ORM using the DestList.
i hope it helps, if anyone need persists data Using ManyToMany CRUD ORM  externally.
The code can be found here: https://github.com/EduardoShibukawa/mOR … le/main.py

#2 Re: mORMot 1 » Python Authentication » 2018-02-22 15:23:48

turrican wrote:

Thanks for this nice implementation for Python!

Thanks! smile

#3 mORMot 1 » TSQLHttpClient.Free Acess Violation » 2018-02-09 13:28:51

EduardoShibukawa
Replies: 1

After update my mORMot repository it has started to thrown an Acess Violation Exception,
i have just removed the fSessionUser.Free and it worked normally.

destructor TSQLRestClientURI.Destroy;
   ...
    SessionClose; // if not already notified <- Here it executes a FreeAndNil(fSessionUser)
  finally
    // release memory and associated classes
    if fRemoteLogClass<>nil then begin
      {$ifndef LVCL}
      FreeAndNil(fRemoteLogThread);
      {$endif}
      ServerRemoteLogStop;
    end;
    fSessionUser.Free; <- Here throw an Acess Violation, because the fSessionUser it's already Free
   ...
end;

#4 Re: mORMot 1 » Python Authentication » 2018-02-02 10:28:00

Thanks, feel free to add it there, if it helps somebody i'll be happy.

#5 mORMot 1 » Python Authentication » 2018-02-01 20:52:28

EduardoShibukawa
Replies: 5

Hello in the link bellow is an example to a http authenticated mORMot server connection using python.
https://github.com/EduardoShibukawa/mOR … entication

Board footer

Powered by FluxBB