Browse Source

add new app juser,jasset

pull/6/head
root 10 years ago
parent
commit
6a2e6709b9
  1. 2
      connect.py
  2. 0
      jasset/__init__.py
  3. 3
      jasset/admin.py
  4. 0
      jasset/migrations/__init__.py
  5. 3
      jasset/models.py
  6. 3
      jasset/tests.py
  7. 3
      jasset/views.py
  8. 0
      juser/__init__.py
  9. 3
      juser/admin.py
  10. 0
      juser/migrations/__init__.py
  11. 3
      juser/models.py
  12. 3
      juser/tests.py
  13. 3
      juser/views.py

2
connect.py

@ -143,11 +143,13 @@ def connect(username, password, host, port):
# set PS1 and msg it
channel.send(ps1)
channel.send(login_msg)
print channel.get_name()
# Make ssh interactive tunnel
posix_shell(channel, username, host)
# shutdown channel socket
channel.close()
ssh.close()

0
jasset/__init__.py

3
jasset/admin.py

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

0
jasset/migrations/__init__.py

3
jasset/models.py

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
jasset/tests.py

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
jasset/views.py

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

0
juser/__init__.py

3
juser/admin.py

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

0
juser/migrations/__init__.py

3
juser/models.py

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
juser/tests.py

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
juser/views.py

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.
Loading…
Cancel
Save