Comments (2)
@afs2015 : OK, so having looked into this I think that we can implement this pretty easily using the existing views core.views.IndividualClassView
and core.views.IndividualEventView
. We just need to add some new paths to urls.py in core. I think, however, that in order to avoid clashes with session-specific URLs, the location-specific URL pattern will need to be:
/classes/location/<location-slug>/<year>/<month>/<class-slug>/
There is one database change that will need to be made. Specifically, Locations will need a slug field. I can add this to dev so that it's included with the 0.9.0 release (which I am really trying to get out the door soon).
Does that work for you?
from django-danceschool.
@leetucker: This works great for me. Feel free to mark this as closed whenever that is released.
from django-danceschool.
Related Issues (20)
- Unable to run manage.py on a project using version 8.4 HOT 5
- Huey version 2.0 changed its SQLite API HOT 4
- Location-specific dance roles limit HOT 2
- Expense Item save fails when user does not have permission to Mark Expenses Paid at Time Of Submission HOT 3
- data JSONFields for Event, RevenueItem, and ExpenseItem models HOT 1
- Remove "oneTimeSeries" flag from ClassDescription and implement ClassDescription autocomplete HOT 5
- Remove djangocms-forms dependencies and potentially replace with aldryn-forms HOT 1
- [Bug] Migration failing for OneToOneField(StaffMember) HOT 4
- Initial migrate is failing HOT 2
- Unable to create the database tables from scratch HOT 1
- Registration Success Emails do not contain information about class registrations HOT 9
- StaffDirectoryView causing no instructors to show on Instructor Page HOT 8
- CSS off for class registration with one role HOT 3
- Time is 2 hours off, despite setting timezone HOT 3
- Not Found: / HOT 13
- TypeError: '<' not supported between instances of 'NoneType' and 'NoneType' HOT 1
- If drop-ins are allowed then drop-in price must be specified by the Pricing Tier.
- Class balance and waiting lists? HOT 1
- AttributeError: 'NoneType' object has no attribute 'startTime'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-danceschool.