davebridges / mousedb

Django Based Database System for Experimental Subjects
http://davebridges.github.com/mousedb
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

error message for old time mating experiment #12

Closed SergeyZolov closed 14 years ago

SergeyZolov commented 14 years ago

I try setup new breeding cage from my old experiment with time mating, but I get error message.

Page not found (404) Request Method: POST Request URL: http://weismanlab.lsi.umich.edu/mousedb/timed_mating/breeding/247/

Using the URLconf defined in mousedb.urls, Django tried these URL patterns, in this order:

  1. ^ajax_select/
  2. ^admin/doc/
  3. ^admin/
  4. ^accounts/login/
  5. ^mouse/
  6. ^mice/
  7. ^animals?/
  8. ^strains?/
  9. ^dates?/
    1. ^breedings?/
    2. ^breeding_cages?/
    3. ^todo/
    4. ^cages?/
    5. ^experiments?/
    6. ^study/
    7. ^studies/
    8. ^treatments?/
    9. ^parameters?/
    10. ^plugs?/
    11. ^plugevents?/
    12. ^plug_events?/
    13. ^timedmatings?/
    14. ^timed_matings?/ ^$
    15. ^timed_matings?/ ^(?P\d*)/$
    16. ^timed_matings?/ ^new/$
    17. ^timed_matings?/ ^(?P\d*)/edit/$
    18. ^timed_matings?/ ^(?P\d*)/delete/$
    19. ^timed_matings?/ ^breeding/(?P\d*)/new
    20. ^specs?/$
    21. ^index/$
    22. ^/?$

The current URL, timed_mating/breeding/247/, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

davebridges commented 14 years ago

In this case, I dont know what you are trying to do. If you want to enter a new plug event you would go to http://weismanlab.lsi.umich.edu/mousedb/timed_mating/breeding/247/new. If you want to go to the breeding cage you would go to http://weismanlab.lsi.umich.edu/mousedb/breeding/247/. I can set up an automatic redirection here, but it would help to know where you were trying to come from to get here

SergeyZolov commented 14 years ago

I got this error message when I tried to save plug event.

SergeyZolov commented 14 years ago

I just try it again and it doesn't save plug event.