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

Crossreference remake #82

Closed
wants to merge 23 commits into from
Closed

Conversation

andreiahendea
Copy link

The Crossreference project's structure is remade to comply with the latest practices of Django.
Backend was changed to use the Django ORM, and prevent SQL Injections.
Frontend design was changed to look like mariadb.org.

I tried to make this project as similar to this: http://buildbot.askmonty.org/ci/reports/cross_reference#branch=10.5&revision=&platform=&fail_name=&fail_variant=&fail_info_full=&typ=&info=&dt=14-09-2021&limit=100&fail_info_short=

The templates should be under /cr/templates/cr/ instead of the old
directory
Add all the HTML of the page
After changing the project to follow the Django documentations and
tutorials, the directories for the templates needed to be changed.
The static/ directory from the main directory of the project is used to
collect all static files from all apps and dump them there. These files
are therefore found inside each app of the project under /app_name/static/app_name.
Django takes the static files from each apps and places them in a
single directory, declared by the STATIC_ROOT variable in the settings.py,
to serve them to the user faster.
Add a base template that can be used in other future templates. The base
template contains the header banner.
Modify and simplify the index.html template to contain only the
functionality of the page.
Add style for the top header
This ensures that Django knows how to make joins between tables
@vladbogo
Copy link
Contributor

vladbogo commented Jan 6, 2022

Hi. This LGTM but maybe @cvicentiu or someone else has more experience with Django. From my point of you, you can merge it.

@cvicentiu
Copy link
Member

@andreiahendea is this pushed?

@fauust fauust force-pushed the master branch 2 times, most recently from 77b6092 to ed394b7 Compare April 28, 2022 21:12
@fauust fauust force-pushed the master branch 3 times, most recently from 18b2f7e to ee83d95 Compare May 9, 2022 15:25
@fauust fauust force-pushed the master branch 10 times, most recently from 7c3b2ca to cd5321a Compare May 9, 2022 16:44
@vladbogo
Copy link
Contributor

Moved to MariaDB/buildbot#154

@vladbogo vladbogo closed this Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants