mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 21:14:18 +00:00
🐛 Use commits a bit less liberally
This commit is contained in:
parent
5e24c8f2e6
commit
c6e00c1c5f
2 changed files with 13 additions and 2 deletions
12
.idea/dataSources.xml
Normal file
12
.idea/dataSources.xml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||||
|
<data-source source="LOCAL" name="nest@zero.ryg.one" uuid="c18e9ee6-ec71-4ada-af3e-32b57a6e3f15">
|
||||||
|
<driver-ref>postgresql</driver-ref>
|
||||||
|
<synchronize>true</synchronize>
|
||||||
|
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||||
|
<jdbc-url>jdbc:postgresql://zero.ryg.one:5432/nest</jdbc-url>
|
||||||
|
<working-dir>$ProjectFileDir$</working-dir>
|
||||||
|
</data-source>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -203,7 +203,6 @@ def page_repository(rid):
|
||||||
for c in repository.conditions:
|
for c in repository.conditions:
|
||||||
if c.id not in ids:
|
if c.id not in ids:
|
||||||
ext.session.delete(c)
|
ext.session.delete(c)
|
||||||
ext.session.commit()
|
|
||||||
# Create brand new conditions
|
# Create brand new conditions
|
||||||
for c in request.json['conditions']:
|
for c in request.json['conditions']:
|
||||||
if not c['id']:
|
if not c['id']:
|
||||||
|
|
Loading…
Reference in a new issue