FullCalendar: django.core.urlresolvers.NoReverseMatch: Reverse for 'Scheduler_sessionoccurrencemodifier_change'
See original GitHub issuedjango.core.urlresolvers.NoReverseMatch: Reverse for 'Scheduler_sessionoccurrencemodifier_change' with arguments '(12345,)' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Occurs at lines 16 and 24 of schedule/templates/fullcalendar_script.html
`function getEventViewURL(event){
if (event.existed){
if("{{ request.get_full_path }}".indexOf("/admin") != 0){
var view_url = "{% url 'occurrence' 12345 6789 %}".replace(/12345/, event.event_id).replace(/6789/, event.id);
}
else{
var view_url = "{% url 'admin:Scheduler_sessionoccurrencemodifier_change' 12345 %}".replace(/12345/, event.id)
}
}
else {
if("{{ request.get_full_path }}".indexOf("/admin") != 0){
var view_url = "{% url 'event' 12345 %}".replace(/12345/, event.event_id);
}
else{
var view_url = "{% url 'admin:Scheduler_sessionscheduler_change' 12345 %}".replace(/12345/, event.event_id)
}
}
return view_url;
}`
Looks like missing admin code.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
django.core.urlresolver.reverse - NoReverseMatch
I have a problem with url resolution in a view: # URLS.PY from django.conf.urls.defaults import url, include, patterns from ...
Read more >NoReverseMatch Exception #122 - llazzaro/django-scheduler
I have the following exception when I try to view the calender. Request Method: GET Request URL: http://0.0.0.0:8000/admin/r/11/3/ Django ...
Read more >Source code for django.core.urlresolvers
Source code for django.core.urlresolvers. """ This module converts requested URLs to callback view functions. RegexURLResolver is the main class here.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I hope to have a fix for 0.8.3 soon. I will give priority to this issue.
@oriregev you got such error as Occurrence model is not registered in admin section