Skip to content

DebanjanT/tradexa

Repository files navigation

Tradexa Internship Task

by Debanjan Tewary

i apologize that i have written all the code with the company name Tredexa rather than Tradexa, i read it wrong, however if you run the code i have written Tradexa at all frontend element, Thank You 💗!

Problem:
Create an application that has two apps.
1. User with user and Post model
User : first_name, last_name, email, password, username
Post : user, text, created_at, updated_at
Foreign key relationship exists between User and Post on Model level not on Database level.
2. Products app with Product model.
Product : name, weight, price, created_at, updated_at
Both of the apps should use two different databases.
Create a form that an authenticated user can use to create a post.
Note: Register all models on admin dashboard.

Stack

  • Python - Core of Django
  • Django - Backend framework
  • Bootstrap - UI for website
  • jinja - Templating

Demo

Login To redirect Home: PKuOx.png Register If no account: PKlzG.png Home Page after success login: Showing all post at the bottom , posted by all users; PKFma.png

Showing Posts , posted by logged in user: PKXyL.png

Creating a post for logged in user: PKosc.png

Releases

No releases published

Packages

No packages published