Anonymous
use this
sagir
Is it mandatory to known about bootstrap for crispy forms.?
Sheshadri
sagir
So then how can I work on crispy forn.?
sagir
*form
Sheshadri
https://django-crispy-forms.readthedocs.io/en/latest/filters.html#using-crispy-tag-because-it-rocks
sagir
Anonymous
Hi everyone, I have been puzzling over this problem (https://stackoverflow.com/questions/60671241/need-to-set-current-username-in-author-comment-section) for a long time, need your help!
Pruthvi
Iam new to django any site to do small projects...
Pruthvi
How to expertise it
sagir
Why we use Class Meta in forms.py.?
sagir
Dhruva
create_user_account() missing 2 required positional arguments: 'email' and 'password' how to resolve this error
Dhruva
def create_user_account(email, password, first_name="",last_name="", extra_fields):
user = get_user_model().objects.create_user(email=email, password=password, first_name=first_name,last_name=last_name, extra_fields)
return user
Dhruva
but have mentioned
✙Yaroslav
Saran
guys
Saran
i dont know where to start my django journey
Saran
help me
Saran
i just learned python now....
ℕo ℕame
ℕo ℕame
Or django tutorial
Anonymous
https://machinelearning-intro-implementation.blogspot.com/2020/03/linear-regression-with-one-varible-part.html
Sheshadri
Is there a solution to my problem here?
Yes, what you are saying is you need "chained select" where If I select a drop down of field schedule I need to populate another field additionalschedule which is related to schedule and that is what that module does.
Doragonsureiyā
i dont know where to start my django journey
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Akash
Can anyone help me to host my Django project on live aerver
Gil
Akash
I am currently using in built aerver to run website
Anonymous
Hello. See I have learnt basics of django(polling app tutorial) then I made some changes in static & template and hosted it online with heroku using heroku cli.
Now, I want to build a web scrapper but I want it to scrape the information once a day automatically without user giving the command. Like automatically. Can it be done using heroku?
utkarsh
Plz help
utkarsh
I have a question
utkarsh
Do i have to create views.py in project?
Gil
Anonymous
✙Yaroslav
Anonymous
I have an issue I have been battling since Saturday evening I create a view and all the necessary html files and import my views in my urls.py file but my view in url path is underlined, u tried it with a diff project and it worked perfectly but the same is not working on my current project. Using pycharm 2017 and Django 2.2
utkarsh
utkarsh
sagir
Check your app there will be views.py file
utkarsh
But bro when i attched my template then it shows index. Html doesnt exist
utkarsh
sagir
So what you want
Anonymous
Yes it has
It’s there you can create your views
utkarsh
utkarsh
I have sent u pkc
utkarsh
Pic
Way
Hello chat.
I have a task.
There is a table of products, the product has a category. And a category can have its own properties per product group. And for each category, the quantity and type of these properties may be different. How should I do this?
Dhruva
Dexter
Guys how to create customized registration forms in with extra fields
Dexter
Any tutorials would be great
Dexter
Thank you
477
Hello guys.... am having an issue trying to load crispy form after installing... my settings.py was updated Crispy_forms was added to installed app and I added the default templates CRISPY_TEMPLATES_PACK = ‘bootstrap3’
I updated the tag {% load crispy_forms_tags %} and rendered crispy {{% form|crispy %}}. Whenever I run my server I have no issues but whenever I try loading my app on local server it shows me the error below
477
Syntax error invalid syntax
R
Try to use 'bootstrap4'
477
Okay let me try thanks 🙏🏽
477
Still same syntax error
Anonymous
Whats the message?
DORIAN GRAY
get error:"attempt to write a readonly database" when try to enter admin panel. Have write permissions on db.sqlite3 file for all users. What's wrong?
Anonymous
Hmmm
Anonymous
So that is the problem..
Anonymous
Layout.py is file made by you I suppose
477
nope its not.... its a default file in crispy
Anonymous
Not sure then.. but I recomend you to follow this tutorial: https://simpleisbetterthancomplex.com/tutorial/2018/08/13/how-to-use-bootstrap-4-forms-with-django.html
477
okay thanks
Mick
I'm New in Django Framework! Anyone Suggest easy to understand Django Tutorial resources
Please !!!
Unknown
How to create a redirect code for django?
Sheshadri
Sheshadri
DmtrTg, [16.03.20 14:50]
Hello. Tell me how to do in Django, when validating the form, so that username is equal to the cropped email to @
def subscription(request):
form = ProfileForm(request.POST or None)
if request.method == "POST" and form.is_valid():
form.save()
username = ????
raw_password = form.cleaned_data.get('password1')
user = authenticate(password=raw_password)
login(request, user)
return redirect('home')
Akash