send data to database

2019-12-24 Thread Leó Horváth
Hi guys, I want to create a form with radio buttons that sends data to a specific database field. How can I do it? My models.py looks like this: import datetime from django.db import models from django.utils import timezone # Create your models here. class Name(models.Model): user_name =

Re: migration error

2019-12-12 Thread Leó Horváth
hey, thanks i solved it the problem was very trivial, thank you for your help anyway!! Leó Horváth ezt írta (időpont: 2019. dec. 12., Cs, 20:13): > Still the same, it didnt help sadly :( > > > DANIEL URBANO DE LA RUA ezt írta (időpont: > 2019. dec. 12., Cs, 20:10): > &g

Re: migration error

2019-12-12 Thread Leó Horváth
Still the same, it didnt help sadly :( DANIEL URBANO DE LA RUA ezt írta (időpont: 2019. dec. 12., Cs, 20:10): > if your are using sqlite db and is empty delete it and remake migrations > > El jue., 12 dic. 2019 a las 18:54, Leó Horváth () > escribió: > >> Hi guys! >

migration error

2019-12-12 Thread Leó Horváth
Hi guys! When I Try to make a migration my console says the following: "ValueError: Related model 'database_manager.Name' cannot be resolved" however, "database_manager" does not exist anymore, I renamed it to "database". this is my project repo if it helps: https://github.com/leocsi/salesgrade

Re: Link a .css to a Html template

2019-12-04 Thread Leó Horváth
t; > Em domingo, 1 de dezembro de 2019 22:27:34 UTC-3, Leó Horváth escreveu: >> >> Hi guys, I am experiencing an error while trying to Link a .css file to a >> Html template of one of my Views. What is the correct way to do it? >> > -- > You received this message bec

Re: Link a .css to a Html template

2019-12-03 Thread Leó Horváth
ight imagine: >> css >> js >> img >> plugins >> >> #4: On my layout.html file, I use the following: >> {% load static %} >> ... >> >> >> >> This is how it looks: >> >> >> >> I hopes that helps.

Re: Link a .css to a Html template

2019-12-02 Thread Leó Horváth
S file is > located. If it's in static/pages/frame.css, then point to {% static > "pages/frame.css" %} > > Cheers, > > Kevin > > On Mon, Dec 2, 2019, 11:15 AM Leó Horváth > wrote: > >> hi! i still cant make it work. this is my html snippet and the .css

Re: Link a .css to a Html template

2019-12-02 Thread Leó Horváth
/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13 > > > https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/accounts/edit_profile/activate.html#L13-L18 > > > אורי > u...@speedy.net > > > On Mon, Dec 2, 2019 at 3:26 A

Link a .css to a Html template

2019-12-01 Thread Leó Horváth
Hi guys, I am experiencing an error while trying to Link a .css file to a Html template of one of my Views. What is the correct way to do it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving