Hi Eugen,
Seems like you're of to a good start.
Best of luck!
-Juhana
On Mon, Jan 20, 2020 at 2:21 PM Eugen Ciur wrote:
> Sure! Thanks!
> I will keep in mind your kind offer.
>
> On Monday, January 20, 2020 at 5:34:09 AM UTC+1, Karan Mittal wrote:
>>
>> Hey Eugin,
>> Your blogs are awesome. Le
Hi Soumen,
You could try with
profiles = Profile.objects.filter(user__username=username)
I would also suggest changing your model definition to something like
class Profile(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
Then you will have exactly one Profile pe
Hi,
I had the same error when a virtual environment was active and resolved it
by deactivating it and creating a new virtual environment.
Not sure what was the cause but I suspect it had something to do with
updating to MacOS Mojave.
-Juhana
On Sun, Jul 28, 2019 at 5:58 PM Kean Dumba wrote:
>
Hi,
You can achieve this by customizing the widget which renders the HTML for
the form field. You can find more information in the documentation here
https://docs.djangoproject.com/en/2.2/ref/forms/widgets/
-Juhana
On Sun, 28 Jul 2019 at 16.57, Kai Kobschätzki
wrote:
> Heiho,
>
> I wrote a cla
To create the initial migrations for a app run
python manage.py makemigrations
Where is the name of the app (folder) you've created.
This will create migrations folder under the apps folder.
-Juhana
On Wed, May 29, 2019 at 9:29 PM yavoucko lye wrote:
>
> --
> You received this message becaus
5 matches
Mail list logo