Samir Shah
							
						 
						
							
								095c30d735
								
							 
						 
						
							Remove use of python_2_unicode_compatible decorator. 
							
							
						 
						7 anni fa  
					 
				
					
						
							
								   Michael van Tellingen
							
						 
						
							
								a846c41ee3
								
							 
						 
						
							Move sites/sandbox/ to the root directory. 
							
							 
							
Since there is no demo or us site anymore we can simplify the structure
somewhat by moving the sandbox one directory up 
							
							
						 
						8 anni fa  
					 
				
					
						
							
								   Maik Hoepfel
							
						 
						
							
								afe08db409
								
							 
						 
						
							Remove Django 1.7 support 
							
							 
							
We only support two versions of Django. That policy might change given
that Django has started doing LTS releases. But for now, it only makes
sense to remove Django 1.7 support. 
							
							
						 
						9 anni fa  
					 
				
					
						
							
								   Mads Jensen
							
						 
						
							
								6874ccd44c
								
							 
						 
						
							Django 2 requires on_delete in models.OneToOneField 
							
							
						 
						9 anni fa  
					 
				
					
						
							
								   Maik Hoepfel
							
						 
						
							
								8199da2100
								
							 
						 
						
							Test and handle text representations of models 
							
							 
							
This commit adds the python_2_unicode_compatible decorator to all models
that define a text representation. Furthermore, it adds a test to ensure
that we never forget to do that.
It is explained in details in the Django docs:
https://docs.djangoproject.com/en/dev/topics/python3/#str-and-unicode-methods  
							
							
						 
						11 anni fa  
					 
				
					
						
							
								   Maik Hoepfel
							
						 
						
							
								30eead5e33
								
							 
						 
						
							Remove custom user app from sandbox 
							
							 
							
This is to keep the sandbox as vanilla as possible, as it's the
environment that migrations should be built against. 
							
							
						 
						12 anni fa  
					 
				
					
						
							
								   David Winterbottom
							
						 
						
							
								5d77dd642a
								
							 
						 
						
							Support sandbox in Django < 1.5 
							
							 
							
Wrap the custom user classes in a conditional block. 
							
							
						 
						12 anni fa  
					 
				
					
						
							
								   David Winterbottom
							
						 
						
							
								2c36b75e28
								
							 
						 
						
							Add an abstract Oscar user model 
							
							 
							
This can be used by new Oscar installs.  It's the same as a the core
Django one but without a username. 
							
							
						 
						12 anni fa  
					 
				
					
						
							
								   David Winterbottom
							
						 
						
							
								d4e51bb6f9
								
							 
						 
						
							Add support for a truly custom User model 
							
							 
							
The new model must have an email field but Oscar will work without
anything else. 
							
							
						 
						12 anni fa  
					 
				
					
						
							
								   David Winterbottom
							
						 
						
							
								4a0c236a13
								
							 
						 
						
							Add support for a User model which extends AbstractUser 
							
							 
							
These are simpler as they are guaranteed to have an email field which
Oscar uses for authentication. 
							
							
						 
						12 anni fa  
					 
				
					
						
							
								   Maik Hoepfel
							
						 
						
							
								1bc23cdbec
								
							 
						 
						
							Update testing for Django 1.5 
							
							 
							
* Emailbackend: Updated to use REQUIRED_FIELDS
* Demo and sandbox site now use compat.AUTH_USER_MODEL as well
* Added example custom user that gets tested for Django >= 1.5 
							
							
						 
						12 anni fa  
					 
				
					
						
							
								   David Winterbottom
							
						 
						
							
								0a27d9ccfe
								
							 
						 
						
							Add demo site 
							
							 
							
Example sites now sit in their own folder (sites) for easier
organisation. 
							
							
						 
						13 anni fa  
					 
				
					
						
							
								   David Winterbottom
							
						 
						
							
								69045acc5d
								
							 
						 
						
							Added view/form for handling updates to user and profile. 
							
							 
							
It handles the situation where there is no profile model too, and
dyncamically builds a profile and user form 
							
							
						 
						13 anni fa