Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Zipstack/unstract into simple-promp…
Browse files Browse the repository at this point in the history
…t-studio-crud
  • Loading branch information
tahierhussain committed Jul 18, 2024
2 parents 624a100 + 7c513ff commit 3885c7c
Show file tree
Hide file tree
Showing 95 changed files with 3,540 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ repos:
- id: markdownlint-fix
args: [--disable, MD013]
- repo: https://github.com/pdm-project/pdm
rev: 2.15.4
rev: 2.16.1
hooks:
- id: pdm-lock-check
# - repo: local
Expand Down
26 changes: 26 additions & 0 deletions backend/account_v2/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Basic WorkFlow

`We can Add Workflows Here`

## Login

### Step

1. Login
2. Get Organizations
3. Set Organization
4. Use organizational APIs /unstract/<org_id>/

## Switch organization

1. Get Organizations
2. Set Organization
3. Use organizational APIs /unstract/<org_id>/

## Get current user and Organization data

- Use Get User Profile and Get Organization Info APIs

## Signout

1.signout APi
Empty file added backend/account_v2/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions backend/account_v2/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin

from .models import Organization, User

admin.site.register([Organization, User])
6 changes: 6 additions & 0 deletions backend/account_v2/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class AccountConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "account_v2"
Loading

0 comments on commit 3885c7c

Please sign in to comment.