report problem 2
This commit is contained in:
@@ -73,7 +73,8 @@ MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
||||
STATIC_URL = "/static/"
|
||||
|
||||
|
||||
STATICFILES_DIRS = [BASE_DIR.joinpath("static")]
|
||||
# STATICFILES_DIRS = [BASE_DIR.joinpath("static")]
|
||||
STATICFILES_DIRS = os.path.join(BASE_DIR, "static")
|
||||
|
||||
STRIPE_CHECKOUT_URL = (
|
||||
"https://staging.goodtimesltd.co.uk/subscriptions/stripe-subscription/"
|
||||
@@ -81,3 +82,4 @@ STRIPE_CHECKOUT_URL = (
|
||||
STRIPE_FINAL_URL = (
|
||||
"https://staging.goodtimesltd.co.uk/subscriptions/create-checkout-session/"
|
||||
)
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ def generate_event_report_pdf_three(user, report_data):
|
||||
)
|
||||
|
||||
# Insert company logo
|
||||
logo_path = os.path.join("static", "images", "icon.png") # Path to the logo
|
||||
logo_path = os.path.join("static/images/icon.png") # Path to the logo
|
||||
logo = Image(logo_path)
|
||||
logo.drawWidth = 200 # Adjust the width as needed
|
||||
logo.drawHeight = 300 # Adjust the height as needed
|
||||
|
||||
Reference in New Issue
Block a user