Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to django v4.x #9

Merged
merged 27 commits into from
Nov 7, 2023
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8ae1419
minor
csae8092 Nov 4, 2023
454ab27
add missing on_delete=models.SET_NULL on FK fields
csae8092 Nov 4, 2023
806e92b
removed sparql app
csae8092 Nov 4, 2023
ea52d0d
some dal fixes
csae8092 Nov 4, 2023
5eea657
fix for base_name -> basename
csae8092 Nov 4, 2023
e82ea26
url -> path, app_name
csae8092 Nov 4, 2023
d03e213
major url-path fix
csae8092 Nov 6, 2023
8ad2cfe
linting
csae8092 Nov 6, 2023
faaed6f
new middleware, removed import audit_log.models.fields
csae8092 Nov 6, 2023
ba5df8c
on_delete and audit_log
csae8092 Nov 6, 2023
5835161
fix (?) migrations
csae8092 Nov 6, 2023
5b6d529
template tag fix {% load static %}
csae8092 Nov 6, 2023
da4e907
laod static and fix for context in render
csae8092 Nov 6, 2023
b6e9b70
this makes static pages like start page work!!!!
csae8092 Nov 6, 2023
1c7ab82
fixed URL patterns
csae8092 Nov 6, 2023
85a5541
fix for drf default page size
csae8092 Nov 7, 2023
95e1b85
removed superfluos site list view
csae8092 Nov 7, 2023
edf7991
name -> field_name
csae8092 Nov 7, 2023
deef991
bootstrap3 template pack
csae8092 Nov 7, 2023
a6e7d97
more staticfiles -> static
csae8092 Nov 7, 2023
fcb2e0d
re added additional site list view (used for data curation)
csae8092 Nov 7, 2023
47730f7
closes #7 (events show up again)
csae8092 Nov 7, 2023
26a0c5b
yet another render_to_response fix
csae8092 Nov 7, 2023
2ca9b82
more loadstatic -> load
csae8092 Nov 7, 2023
dff570e
potential fix for 'id' expected a number but got <bound
csae8092 Nov 7, 2023
74c6e30
wip geolocation things
csae8092 Nov 7, 2023
ebc8d0e
fix for geolocation/site/show/
csae8092 Nov 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
potential fix for 'id' expected a number but got <bound
csae8092 committed Nov 7, 2023
commit dff570eacaa6b8f415e194c218894f6182d54c63
4 changes: 2 additions & 2 deletions publicrecords/views.py
Original file line number Diff line number Diff line change
@@ -87,11 +87,11 @@ def get_context_data(self, **kwargs):
)
if current_find.pottery_detail is not None:
context["pottery_detail_list"] = ImageThesaurus.objects.filter(
pottery_detail=current_find.pottery_detail.all
pottery_detail__in=current_find.pottery_detail.all()
)
if current_find.pottery_decoration is not None:
context["pottery_decoration_list"] = ImageThesaurus.objects.filter(
pottery_decoration=current_find.pottery_decoration.all
pottery_decoration__in=current_find.pottery_decoration.all()
)
return context