Skip to content

(issue-7) events models database - #27

Open
ultra-passion-fruit wants to merge 1 commit into
mainfrom
7-events-model
Open

(issue-7) events models database#27
ultra-passion-fruit wants to merge 1 commit into
mainfrom
7-events-model

Conversation

@ultra-passion-fruit

@ultra-passion-fruit ultra-passion-fruit commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Resolves #6 #7 #13 #19

TLDR: Deleted separate app structure (may regret later) and put all into one main app (hence why so many deleted files). Main benefit is one single urls.py where you see all routes on website (nothing hidden anywhere). Drawback is single models.py is getting rather enormous.

Summary of Changes

  • Added Event model
  • Added EventSession model
  • Added UserProfile model
  • Added ExecRole model
  • Added Card model
  • Added Container model
  • Added Sponsor model
  • Added admin.py forms to edit all models + hooked up to website interface.

Running Instructions

  1. From the /jsa dir, create the superuser by running seed script
    python manage.py seed

  2. Start development server for local viewing
    python manage.py runserver

  3. Navigate to http://127.0.0.1:8000/app/ and login with newly created user

  • username "admin"
  • password "admin"
Screenshot 2026-09-09 at 4 50 26 PM
  1. Then, build Events and Sessions as follows from screenshots, because I did not have time to make a script to do it. But also, you get to learn how to use the application as you do!
Screenshot 2026-09-09 at 5 06 26 PM Screenshot 2026-09-09 at 5 06 48 PM Screenshot 2026-09-09 at 5 07 03 PM

Then hit SAVE. This will create the "Japanese Conversation Group" event. ABSOLUTELY NECESSARY since there is a link in the nav that points to the /japanese-conversation-group. This will generate the completely editable page that looks like:

Screenshot 2026-09-09 at 5 11 15 PM
  1. Then, create the session for the JCG event:
Screenshot 2026-09-09 at 5 10 20 PM Screenshot 2026-09-09 at 5 10 28 PM Screenshot 2026-09-09 at 5 10 36 PM

This will generate the page that looks like:

Screenshot 2026-09-09 at 5 11 53 PM

Note how this session is associated with the JCG event.

@ultra-passion-fruit ultra-passion-fruit added django Issue perrtains to django database Work pertaining to database and data schema. labels Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

database Work pertaining to database and data schema. django Issue perrtains to django

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set up manager app and dashboard view shell

1 participant