mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	A few major themes here:
    - We remove short_name from UserProfile
      and add the appropriate migration.
    - We remove short_name from various
      cache-related lists of fields.
    - We allow import tools to continue to
      write short_name to their export files,
      and then we simply ignore the field
      at import time.
    - We change functions like do_create_user,
      create_user_profile, etc.
    - We keep short_name in the /json/bots
      API.  (It actually gets turned into
      an email.)
    - We don't modify our LDAP code much
      here.
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			349 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			349 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 2.2.14 on 2020-07-16 11:06
 | |
| 
 | |
| from django.db import migrations
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ('zerver', '0295_case_insensitive_email_indexes'),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.RemoveField(
 | |
|             model_name='userprofile',
 | |
|             name='short_name',
 | |
|         ),
 | |
|     ]
 |