dateinamen verbessert
This commit is contained in:
parent
c27341b32e
commit
5dde79aedf
|
|
@ -268,6 +268,7 @@ def adddirbyajax(request, parent):
|
|||
tempdatafile = DataFile(file=request.FILES['uploadedfile'], name=request.FILES['uploadedfile'].name, owner=request.user, parent=datadir_parentid, agency=request.user.profile.agency)
|
||||
else:
|
||||
tempdatafile = list(DataFile.objects.filter(name__icontains=request.FILES['uploadedfile'].name, agency=request.user.profile.agency))[0]
|
||||
tempdatafile.file.delete()
|
||||
tempdatafile.file = request.FILES['uploadedfile']
|
||||
|
||||
try:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -16,7 +16,6 @@ import os
|
|||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
||||
|
||||
############################################## DEV #####################################
|
||||
BASE_URL = "https://dev01.digitale-agentur.com/"
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@
|
|||
</li>
|
||||
|
||||
<div style="" class="sidebar-heading">
|
||||
<img src="{% static 'users/img/vvelogo.png' %}" width="55%">
|
||||
<img src="{% static 'users/img/vvelogo.png' %}" width="30%" class="mb-2">
|
||||
<br />
|
||||
<a style="color: #999; text-decoration: none;" href="{% url 'datenschutzda' %}">Datenschutz</a><br />
|
||||
<a style="color: #999; text-decoration: none;" href="{% url 'impressumda' %}">Impressum</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue