Follow Installing Instructtions First
Make your Registration form inherit the LocationForm from the app
from mapistration.forms import LocationForm
- class UserForm(LocationForm):
full_name = forms.CharField(max_length=50) #example
1) Link your registration model to mapistration Place Model You can use OneToOneField or ForeignKey according to your requiremnts.
from mapistration.models import Place
- class UserRegistrationModel(models.Model):
- location = models.OneToOneField(Place)