From 35962a7734683d916b3d28499d331a010edb7fc8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-IJFNECO\\linxs" Date: Thu, 10 May 2018 09:36:04 +0200 Subject: [PATCH] Django Form view and template OK --- .idea/vcs.xml | 6 + .idea/workspace.xml___jb_tmp___ | 392 ------------------ downip.txt | 38 ++ ipstable.txt | 131 +++--- selenium prueba.ipynb | 34 ++ seleniumjupyter.ipynb | 55 +++ supervision/srcform/forms.py | 5 + .../srcform/templates/srcform/site.html | 22 + supervision/srcform/urls.py | 22 + 9 files changed, 245 insertions(+), 460 deletions(-) create mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml___jb_tmp___ create mode 100644 selenium prueba.ipynb create mode 100644 seleniumjupyter.ipynb create mode 100644 supervision/srcform/forms.py create mode 100644 supervision/srcform/templates/srcform/site.html create mode 100644 supervision/srcform/urls.py diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml___jb_tmp___ b/.idea/workspace.xml___jb_tmp___ deleted file mode 100644 index fc72411..0000000 --- a/.idea/workspace.xml___jb_tmp___ +++ /dev/null @@ -1,392 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10.226.38.96 - - - - - - - - - true - DEFINITION_ORDER - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + \ No newline at end of file diff --git a/supervision/srcform/urls.py b/supervision/srcform/urls.py new file mode 100644 index 0000000..1cce8d1 --- /dev/null +++ b/supervision/srcform/urls.py @@ -0,0 +1,22 @@ +"""supervision URL Configuration + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/2.0/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path, include +from .views import get_name + +urlpatterns = [ + path('', get_name), +]