Энергия НК (наблюдательные станции)
This commit is contained in:
parent
9399417acd
commit
161f1017d2
@ -59,7 +59,7 @@
|
||||
<p style="font-size:12px;fon">Список наблюдательных станций</p>
|
||||
</div>
|
||||
<div class="col-sm-3 invoice-col">
|
||||
<a href="point/list/"><strong>Реперы</strong></a>
|
||||
<a href="{% url 'geoproc:point_list' sector.id %}"><strong>Реперы</strong></a>
|
||||
<br>
|
||||
<p style="font-size:12px;fon">Список реперов</p>
|
||||
</div>
|
||||
|
||||
@ -68,6 +68,7 @@ def obstation_save(request, pk):
|
||||
form = ObStationForm(request.POST,instance=obstation)
|
||||
if form.is_valid():
|
||||
obstation = form.save(commit=False)
|
||||
obstation.sector = sector
|
||||
obstation.save()
|
||||
context = generalmodule.get_context_template()
|
||||
context.update({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user