OK, can you interact with the postgresql database using the DAL standalone 
as described 
in 
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Using-the-DAL-stand-alone-?
 
Can you insert records via this mechanism? Do you get any error?

Usually when testing in this way I run python [path]/web2py.py -M -S 
appname which loads the models for the app I am concerned with.


On Thursday, 1 April 2021 at 22:01:45 UTC+1 Aydin wrote:

> Yes, the question is I have no log or error to debug for the issue:
> After migration to postregsql and removing the errors, the insert record 
> does not work. It returns no error. The record does not get created.
>
>
> On Thursday, April 1, 2021 at 4:52:08 PM UTC-4 [email protected] 
> wrote:
>
>> Do you have a question, because I an struggling to understand what it is?
>>
>> On Thursday, 1 April 2021 at 14:04:20 UTC+1 Aydin wrote:
>>
>>> I can create records in the interface of the postgresql and they show up 
>>> in the web2py database admin. But the user I created in postgresql cannot 
>>> login to the app. There is no error. 
>>> Using SQLite, I could create records by web2py's database admin. is it 
>>> still possible to create records if you use postgresql or not? Because as I 
>>> said in the frist post, they do not get created. 
>>>
>>> On Thursday, April 1, 2021 at 8:42:25 AM UTC-4 Aydin wrote:
>>>
>>>> I have moved my database from SQlite to postgresql. The problem I have 
>>>> is that when I try to create any table, it does not return any notice and 
>>>> refreshes the page and does not create the record. I have some tables and 
>>>> none of them create a record. I am creating the records using admin page 
>>>> on 
>>>> the website just like I did with SQLite. I read it is the same way with 
>>>> postgresql.
>>>>
>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/9db907a7-f092-4caa-b2e6-5c8fb2ead5d6n%40googlegroups.com.

Reply via email to