mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	urls: Migrate zproject urls to use modern django patterns.
This migrations use of url() to path() or re_path(). In this commit, we only migration regular expressions to path where the translation is trivial: * URLs with no parameters in them * URLs with only integer parameters in them * Strings where there regular expression just checked for `/`s path; strings, which can have variable validation in the URLs that need by-hand auditing, we leave for future commits that are easier to review and think about the individual changes. Modified by tabbott to convert back to `re_path` various URLs with strings that had been converted to use `path()` with string validation to simplify review. Fixes #14770.
This commit is contained in:
		
							
								
								
									
										829
									
								
								zproject/urls.py
									
									
									
									
									
								
							
							
						
						
									
										829
									
								
								zproject/urls.py
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user