Task to be done in Django
Table structure:
- Movies
- id
- Title
- Description
- Featured image
- Movie length (in minutes)
- Movie release date
Example:
1 | Jurassic World | A movie about dinosaurs | 90 minutes | June 14 2015
2 | Kick | Salman Khan movie | 120 minutes | April 2014
- Category
- id
- Type
- Value
1 | Language | English
2 | Genre | Action
3 | Language | Hindi
4 | Genre | Comedy
- Relationship
- id
- Taxonomy id
- Movie id
Example:
1 | 1 | 1
2 | 1 | 2
3 | 2 | 3
4 | 2 | 4
Create a list view of movies with pagination after 10 movies.
For pagination follow this approach. AJAX / Page Refresh - your choice.
- Filter by language
- Filter by Genre
- Sort by Length
- Sort by release date
Filter and sort need to work together. Filter and sort should continue to
work when I change page. For example refer
http://www.shortfilmwindow.com/movies/
Sort, filter and pagination need to be server side.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/c31c4026-3efc-477e-b026-48e9e6364117%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.