Clean up and working on user related models, methods, and routes.
This commit is contained in:
@@ -53,7 +53,7 @@ def load_post_obj(
|
||||
if post_id := redis_lookup_id_random(record_id_random=post_id, table_name='post'): pass
|
||||
else: return False
|
||||
|
||||
if post_rec := sql_select(table_name='v_post', record_id=post_id):
|
||||
if post_rec := sql_select(table_name='v_post_detail', record_id=post_id):
|
||||
#log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.debug(post_rec)
|
||||
else: return False
|
||||
|
||||
Reference in New Issue
Block a user