Create an actual user, add missing file
Also allow `./bw-dev up -d` I'm not sure why this was necessary, but it makes enough sense
This commit is contained in:
		
							
								
								
									
										14
									
								
								bookwyrm/migrations/0036_merge_20210114_0348.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								bookwyrm/migrations/0036_merge_20210114_0348.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
# Generated by Django 3.0.7 on 2021-01-14 03:48
 | 
			
		||||
 | 
			
		||||
from django.db import migrations
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('bookwyrm', '0015_auto_20201128_0734'),
 | 
			
		||||
        ('bookwyrm', '0035_edition_edition_rank'),
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
    operations = [
 | 
			
		||||
    ]
 | 
			
		||||
@@ -19,7 +19,9 @@ class ReadThrough(TestCase):
 | 
			
		||||
        self.work.default_edition = self.edition
 | 
			
		||||
        self.work.save()
 | 
			
		||||
 | 
			
		||||
        self.user = models.User.objects.create()
 | 
			
		||||
        self.user = models.User.objects.create_user(
 | 
			
		||||
            'cinco', 'cinco@example.com', 'seissiete',
 | 
			
		||||
            local=True, localname='cinco')
 | 
			
		||||
 | 
			
		||||
        self.client.force_login(self.user)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user