How to customize user profile when using django-allauth

Suppose you want to ask the user for his first/last name during signup. You’ll need to put these fields in your own form, like so: class SignupForm(forms.Form): first_name = forms.CharField(max_length=30, label=”Voornaam”) last_name = forms.CharField(max_length=30, label=”Achternaam”) def signup(self, request, user): user.first_name = self.cleaned_data[‘first_name’] user.last_name = self.cleaned_data[‘last_name’] user.save() Then, in your settings point to this form: ACCOUNT_SIGNUP_FORM_CLASS … Read more

Is it possible to override the configuration of a plugin already defined for a profile in a parent POM?

Overriding configurations from a parent pom can be done by adding the combine.self=”override” attribute to the element in your pom. Try changing your plugin configuration to: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>my-testCompile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> <configuration combine.self=”override”> <fork>true</fork> <executable>${jdk15.executable}</executable> <compilerVersion>1.5</compilerVersion> <source>1.5</source> <target>1.5</target> <verbose>true</verbose> </configuration> </execution> </executions> </plugin> For more information on overriding plugins, see: … Read more

A valid provisioning profile for this executable was not found for debug mode

It could be because your iphone is not recognized by the provisioning portal. Solution: 1) In Xcode, Goto –> Build –> clean all targets. 2) In “Groups & Files” –>Target –> expand it –> right click your app and select Clean “your app” 3) Goto->Window–>Organizer 4) In the Devices tab on the left, select your … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)