@@ -21,6 +21,8 @@
21 21
         <br>
22 22
         <input type='tel' name='tel' class='form-control' placeholder='Tel.' required/>
23 23
         <br>
24
+        <input type='text' name='line_id' class='form-control' placeholder='Line ID'/>
25
+        <br>
24 26
         <label>อัพโหลดภาพ</label>
25 27
         <input type="file" name='photo' accept="image/*;capture=camera" class='form-control' required> </br>
26 28
         <span class="glyphicon glyphicon-map-marker"></span>

+ 2 - 0
app/front/views.py

@@ -15,6 +15,8 @@ def index(request):
15 15
         p.geolocation = request.POST.get('geo')
16 16
         p.birth_date = request.POST.get('bd')
17 17
         p.comment = request.POST.get('comment')
18
+        p.tel = request.POST.get('tel')
19
+        p.line_id = request.POST.get('line_id')
18 20
         p.photo = request.FILES.get('photo')
19 21
         p.patient_status = "request"
20 22
         p.save()

BIN
app/shaqfindbed/__pycache__/__init__.cpython-39.pyc


BIN
app/shaqfindbed/__pycache__/settings.cpython-39.pyc


BIN
app/shaqfindbed/__pycache__/urls.cpython-39.pyc


BIN
app/shaqfindbed/__pycache__/wsgi.cpython-39.pyc


+ 5 - 1
app/shaqfindbed/settings.py

@@ -27,7 +27,11 @@ SECRET_KEY = 'django-insecure-!=!d6rsewcddw=hr-j46#))^nd-32(kkjmnpxxioi(v&c9!*xn
27 27
 # SECURITY WARNING: don't run with debug turned on in production!
28 28
 DEBUG = True
29 29
 
30
-ALLOWED_HOSTS = []
30
+ALLOWED_HOSTS = [
31
+    "167.71.218.44",
32
+    "localhost",
33
+    '.findbed.xyz'
34
+]
31 35
 
32 36
 
33 37
 # Application definition

+ 1 - 1
app/shaqfindbed/urls.py

@@ -20,8 +20,8 @@ from django.conf.urls import url
20 20
 from django.conf.urls.static import static
21 21
 
22 22
 urlpatterns = [
23
+    path('', include('front.urls')),
23 24
     path('backend/', include('backend.urls')),
24
-    path('front/', include('front.urls')),
25 25
     path('admin/', admin.site.urls),
26 26
     url(r'^chaining/', include('smart_selects.urls')),
27 27
 ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

BIN
data/.DS_Store


BIN
data/db/.DS_Store


+ 0 - 1
data/db/PG_VERSION

@@ -1 +0,0 @@
1
-13

BIN
data/db/base/1/112


BIN
data/db/base/1/113


BIN
data/db/base/1/1247


BIN
data/db/base/1/1247_fsm


BIN
data/db/base/1/1247_vm


BIN
data/db/base/1/1249


BIN
data/db/base/1/1249_fsm


BIN
data/db/base/1/1249_vm


BIN
data/db/base/1/1255


BIN
data/db/base/1/1255_fsm


BIN
data/db/base/1/1255_vm


BIN
data/db/base/1/1259


BIN
data/db/base/1/1259_fsm


BIN
data/db/base/1/1259_vm


BIN
data/db/base/1/13245


BIN
data/db/base/1/13245_fsm


BIN
data/db/base/1/13245_vm


+ 0 - 0
data/db/base/1/13247


BIN
data/db/base/1/13249


BIN
data/db/base/1/13250


BIN
data/db/base/1/13250_fsm


BIN
data/db/base/1/13250_vm


+ 0 - 0
data/db/base/1/13252


BIN
data/db/base/1/13254


BIN
data/db/base/1/13255


BIN
data/db/base/1/13255_fsm


BIN
data/db/base/1/13255_vm


+ 0 - 0
data/db/base/1/13257


BIN
data/db/base/1/13259


BIN
data/db/base/1/13260


BIN
data/db/base/1/13260_fsm


BIN
data/db/base/1/13260_vm


+ 0 - 0
data/db/base/1/13262


BIN
data/db/base/1/13264


+ 0 - 0
data/db/base/1/1417


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.

tmt/tiger_frontend - Gogs: Simplico Git Service

Нема описа

golf 77628cf8bf first comm пре 2 година
..
LICENSE 77628cf8bf first comm пре 2 година
README.md 77628cf8bf first comm пре 2 година
index.js 77628cf8bf first comm пре 2 година
package.json 77628cf8bf first comm пре 2 година
yarn-error.log 77628cf8bf first comm пре 2 година

README.md

node-is-arrayish Travis-CI.org Build Status Coveralls.io Coverage Rating

Determines if an object can be used like an Array

Example

var isArrayish = require('is-arrayish');

isArrayish([]); // true
isArrayish({__proto__: []}); // true
isArrayish({}); // false
isArrayish({length:10}); // false

License

Licensed under the MIT License. You can find a copy of it in LICENSE.