You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<SubHeading>Open-source Django Starter styled with Tailwind and Flowbite.</SubHeading>
9
9
10
-
This open-source starter incorporates a few modern technologies provided out-of-the-box, at a production-ready level.
11
-
[Rocket Django](https://github.com/app-generator/rocket-django)is actively versioned by AppSeed.
10
+
Open-source Django Starter that incorporates a few modern technologies provided out-of-the-box, at a production-ready level.
11
+
[Rocket Django](https://appseed.us/product/rocket/django)comes with API (via DRF), Charts, server-side DataTable, Celery for async tasks processing, and Docker support.
Authenticated user are able to save their information and an IMAGE avatar.
126
-
The fields that manage the user information can be found in [apps/users/models.py](https://github.com/app-generator/rocket-django/blob/main/apps/users/models.py)
127
-
128
-
```python
129
-
ROLE_CHOICES= (
130
-
('admin' , 'Admin'),
131
-
('user' , 'User'),
132
-
)
133
-
classProfile(models.Model):
134
-
user = models.OneToOneField(User, on_delete=models.CASCADE)
135
-
role = models.CharField(max_length=20, choices=ROLE_CHOICES, default='user')
Here is the correspondent UI (requires authentication)
149
-
150
-

151
-
152
-
153
-
## ✅ API Via DRF
154
-
155
-
The [Products](https://github.com/app-generator/rocket-django/blob/main/apps/common/models.py) model is managed in two different ways: via API (powered by DRF) and a simple, intuitive DataTable view.
156
-
157
-
```python
158
-
classProduct(models.Model):
159
-
id= models.AutoField(primary_key=True)
160
-
name = models.CharField(max_length=100)
161
-
info = models.CharField(max_length=100, default='')
The authenticated users are able to submit products using the DRF UI:
169
-
170
-

171
-
172
-
173
-
## ✅ DataTables
174
-
175
-
`Products` information can be easily managed using the DataTable layout styled with Tailwind & Flowbite. Supported features:

0 commit comments