Skip to content

Conversation

Smiercior
Copy link
Contributor

No description provided.

@JakubPrzystasz JakubPrzystasz requested a review from IMystyk May 5, 2023 21:06
@JakubPrzystasz
Copy link
Member

@Smiercior
image
jeśli już tworzysz nowe pliki, staraj się aby ich nazwy były zgodne ze stosowaną już konwencją.

html_string = html_string.replace("{paper_title}", paper.title)

# Other data
# TODO Set year from panel admin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not resolved TODO line, clearly some work to be done here

return str('/papers/')

def get_pdf_author(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic behind pdf generation should be in a separate file, not in the view file. Functions/classes should only be imported and used within the view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants