Muflone
a field is not related to a 404 message
Anonymous
In the create, for GET there is no form, u type form.CreatePollForm, must be form = CreatePollForm
Anonymous
😉
Mahesh
Hi Team,
I am trying to learn the microservices using django is there any blogs or tutorials to understand the logic with implementing api gateway.
Kindly post some useful stuff.
Shaun
Shaun
Anonymous
Hi. I need hosting for django with postagesql
Mirco
Anonymous
Guys i have question
Anonymous
Could I learn django on pycharm
cj
Anonymous
Doragonsureiyā
What should I use
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Anonymous
Bro I want your suggestion.
I study at cyber security.
I finished Python basics.
Now i want to improve my knowledge by learning Django.
What do you think could django might be useful to person who is coming to cyber security?
Please answer
cj
cj
Django is OWASP compliant, so you can learn a lot of things on how to protect your website from certain attacks
Anonymous
Gil
Could I learn django on pycharm
pycharm is a developing tool, not learning program. But yes, pycharm has helpfully assitance writting for django framework
Anonymous
Anonymous
Can someone refer me or explain, how can I add a URL with optional parameter, using path()... I want to invoke the same view with sites/ and sites/<site_id>, has been googling and testing, and nothing work for me 😒
Anonymous
**somebody 😃
Gil
Anonymous
Multiple views... No optional parameter
raven
Anonymous
OK, will try that... In class based views, must set the default value inside def get... really!?
raven
https://stackoverflow.com/questions/14351048/django-optional-url-parameters
raven
👍
Anonymous
that is with url() doesn't work exactly with path() 😔 and with FBV, how can i do that, with CBV ?? set a default value for some GET parameter
Anonymous
this parameters, are in kargs 🤔
Anonymous
May I, populate a form in a TemplateView CBV!??
Sweetie
I have many models in my app.
Is there some inbuilt way to allow model crud automatically by users?
Or I have to code all 4 C, R, U, D url path and views for each model seperately?
Ghorz
Could I learn django on pycharm
Please have different views. As for me, start with text editor like note pad or emacs or vim, even nano. After mastering coding with 0 syntax assistance, move on to an advanced editor like Atom, Vscode, sublime,.....
I started off coding C on Vim then move to nano. It helped me alot, I'm a Linux server admin and learning to use such editor is profitable.
Gil
Anonymous
Hi. I have project deployed by python 2.7 and django 1.1
Anonymous
I want upgrade to python 3.7 and django 1.1 is that save or I need to update django to last version also
Anonymous
And what is save way to do this update
myii
myii
And I really hope for your sake that you mean 1.11 and not 1.1...
Anonymous
There is some article whith Django good practices, like coding format, how to refractor better, about reuse code...
cj
Anonymous
👍🏻 Tks
Anonymous
i'm using same template for many views, because the logic is very similar, just the model and form change, and, the urls for reverse, i'm passing the url, as string, from view to template, as kargs, all fine, but in the template, the pycharm mark this variable 'cause url expect a view name between '', there is some better way to do this!?
Anonymous
in the view i have kwargs['view_url'] = 'sites-list' and in the view i'm calling like {% url view_url element.id %}
Anonymous
and in the template... 😅
Melvin
at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=macekart.herokuapp.com request_id=26068b7c-75dc-4363-827f-612bd293753e fwd="137.97.75.97" dyno= connect= service= status=503 bytes= protocol=https
Melvin
my django app is succesfully deployed to heroku. But wheni try to access it i get application error and this is what i got from the log.
Can someone please help me.
Melvin
I do have a procfile with
web: gunicorn <myappname>.wsgi
Anonymous
It's a good idea to use the jinja2 template engine instead Django!?
cj
cj
Jinja2 was made to give other libraries the power of Django Templates
Anonymous
Oh, OK, Thks again 😉
Shreehari
https://del.dog/uleacungub.txt
code here is not working as i want it to.
i have stored count and count_date in db and so after few days, say 30 , i want count value to reset to 0 and it should continue the same for every 30 days.
can anyone please help me with this
Jaydeep
Hello folks,
Is there any good django course available to learn making websites.
So can you share video tutorials link how to create website using django.
Plz share it.
Thank you
Doragonsureiyā
Jaydeep
Thank you
Xnihpue
Shreehari
how can i use model x values as choices for model y ?
for eg:
class countries(models.Model):
country = models.CharField(max_length=200)
def str(self):
return self.country
class User(AbstractUser):
"""User model."""
full_name = models.CharField(_("Full Name"), max_length=50, default="Full Name")
country_choices = models.CharField(choices=countries
Mirco
Anonymous
I can deployed project using python 2.7 and django 1.11 to herkou
Mirco
Anonymous
Good afternoon everyone.
I need your suggestion.
I have finished Python basics.
Going to django is right choice?
Vorke
Anonymous
Phillip
Hey, I'm using django forms to upload data but my image doesn't not seem to be uploaded ,but everything else goes through, any help
Sweetie
I have a Hugo static landing page at example.com
And a django app at app.example.com
The home page opens a dashboard specific for user so ther is no public page.
I want my full django website to be login required how to do that?
Anonymous
Adonis
hi there.
does someone has a good doc for Shuup platform (build with django)
Adonis
at least a getting started tutorial
Anonymous
Mirco
Anonymous
AM
I guys can you help me... i am sending data through ajax from my template using get method and also i seen the data in console but can’t receive the data in views
Dinesh
Hi, I'm new to python. I have created a Django project using visual studio
Dinesh
I'm looking for help