mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Fixes #2665. Regenerated by tabbott with `lint --fix` after a rebase and change in parameters. Note from tabbott: In a few cases, this converts technical debt in the form of unsorted imports into different technical debt in the form of our largest files having very long, ugly import sequences at the start. I expect this change will increase pressure for us to split those files, which isn't a bad thing. Signed-off-by: Anders Kaseorg <anders@zulip.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			738 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			738 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django.urls import path
 | 
						|
 | 
						|
import zerver.views
 | 
						|
import zerver.views.auth
 | 
						|
import zerver.views.report
 | 
						|
import zerver.views.streams
 | 
						|
import zerver.views.tutorial
 | 
						|
 | 
						|
# Future endpoints should add to urls.py, which includes these legacy urls
 | 
						|
 | 
						|
legacy_urls = [
 | 
						|
    # These are json format views used by the web client.  They require a logged in browser.
 | 
						|
 | 
						|
    # We should remove this endpoint and all code related to it.
 | 
						|
    # It returns a 404 if the stream doesn't exist, which is confusing
 | 
						|
    # for devs, and I don't think we need to go to the server
 | 
						|
    # any more to find out about subscriptions, since they are already
 | 
						|
    # pushed to us via the event system.
 | 
						|
    path('json/subscriptions/exists', zerver.views.streams.json_stream_exists),
 | 
						|
]
 |