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
Copy file name to clipboardExpand all lines: docs/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
<head>
4
4
<metacharset="utf-8">
5
5
<title>
6
-
Djongo - MongoDB Django Hosting
6
+
Djongo - MongoDB Django Connector
7
7
</title>
8
8
<metacontent="Djongo is a smarter approach to database querying. It maps python objects to MongoDB documents. It is popularly referred to as an Object Document Mapper or ODM. It is an extension to the traditional Django object relational modeling framework. Use Django Admin to directly add and modify documents stored in MongoDB. Use other contrib modules such as Auth and Sessions without any changes." name="description">
Alternatively, you can install an older version directly from pypi:
41
+
42
+
* Type `pip install djongo`
45
43
46
44
## MongoDB and Django
47
45
@@ -144,66 +142,6 @@ All options except `ENGINE` and `ENFORCE_SCHEMA` are the same those listed in th
144
142
}
145
143
```
146
144
147
-
## DjongoCS
148
-
149
-
Djongo Cloud Server is the fastest way to deploy to the cloud your djongo powered apps. The DjongoCS package and
150
-
dependencies come preconfigured and installed on the [Cloud][support_page].
151
-
152
-
### SSH
153
-
On account creation you install your public SSH key at the [dashboard](/djongocs/dashboard/).
154
-
This gives a secure shell access to the VM instance for uploading a
155
-
[Django App](https://docs.djangoproject.com/en/dev/intro/tutorial01/). Once the key is installed,
156
-
the dashboard displays the SSH port number over which you can connect to the VM instance.
157
-
158
-
Establish a secure shell connection using:
159
-
160
-
```shell
161
-
ssh <user>@api.djongomapper.com -p <port>
162
-
```
163
-
164
-
The `user` is the same as the username used while creating the account.
165
-
166
-
### Public API
167
-
When you create an account on DjongoCS you get a unique URL path assigned to you. The Django views that you
168
-
create for servicing your API can be accessed and extended further starting from the base URL:
169
-
170
-
```shell
171
-
https://api.djongomapper.com/<user>
172
-
```
173
-
174
-
### Launching the App
175
-
176
-
Establishing a SSH connection to your server logs you into the `/home/$USER` directory. The typical home directory
177
-
structure looks like:
178
-
179
-
```shell
180
-
~home
181
-
| -- .ssh/
182
-
| -- site/
183
-
| -- api/
184
-
| -- settings.py
185
-
| -- urls.py
186
-
| -- apps/
187
-
| -- app1/
188
-
| -- views.py
189
-
| -- models.py
190
-
| -- app2/
191
-
| -- views.py
192
-
| -- models.py
193
-
```
194
-
195
-
In your `urls.py` if you add an entry like `path('hello/', app1.views.hello)`, the URL path becomes
196
-
`https://api.djongomapper.com/<user>/hello`
197
-
198
-
#### Reload the Server
199
-
After making changes to your app, you need to reload the server. This is done by clicking the reload button
200
-
in your [dashboard](/djongocs/dashboard/).
201
-
202
-
{% comment %}
203
-
### Installing dependencies
204
-
205
-
{% endcomment %}
206
-
207
145
## Security and Integrity Checks
208
146
Djongo allows for checks on data fields before they are saved to the database. Running the correct integrity checks and field value validators before writing data into the database is important.
0 commit comments