Commit d0e6a896 authored by PkSM3's avatar PkSM3

[UPDATE] Reboot

parents 4eab6f6f 00f422e6
#!/bin/bash
find . -name '*.pyc' -delete
......@@ -86,7 +86,7 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'gargandb',
'USER': 'alexandre',
'USER': 'pksm3',
'PASSWORD': 'C8kdcUrAQy66U',
#'USER': 'gargantext',
#'PASSWORD': 'C8krdcURAQy99U',
......
......@@ -96,9 +96,13 @@ class Node(CTENode):
def add_resource(self, **kwargs):
<<<<<<< HEAD
# only for tests
resource = Resource(guid=str(time()), digest=str(time()), **kwargs )
=======
resource = Resource(**kwargs)
>>>>>>> 00f422e66ce8fcb7f534fdb51a21500042c8b6f9
# TODO: verifier si tous ces 'save' sont reellement utiles
resource.save()
node_resource = Node_Resource(
......
/srv/tinawebJS
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment