Hello,
I'm looking for cheaper, secure and reliable way to host my website? The
site is being developed on DJango FWK. We are currently on GCP and also
reviewed other popular vendors too. I recently came to know about Render
platform and am wondering if anyone tried it?
Regards,
~Ram
--
Yo
Hello there,
>From looking at your code (super() calls) it seems like your are using
Python 2.
We've seen similar reports about stdlib functions hiding system level
exceptions
instead of surfacing them[0] so that might it.
It's hard to tell without the full traceback though.
Best,
Simon
[0]
okay, i think i got it. you probably need to provide some snippet to reload
list of choices to newly added form. try to look some examples of using
django-select2 with formsets...
by pure js i mean not necessarily vanila js, but pure client code, without
rendering templates on server. all the p
you probably may want to implement `get_context_data` method like:
def get_context_data(self):
context = super(BlogView, self).get_context_data()
context.update({
'authors':
Author.objects.filter(posts__isnull=False).distinct(),
'tags': Tag.objects.all()
Hi,
ListView and most other generic views are designed mostly to work with
single model.
There are few ways to tackle your problem depending on your needs.
to 3. lokak. 2019 klo 0.53 Yann Mbella kirjoitti:
> hi everyone,
> I got a problem in listing two models from a listview that is, a list
Please tell me what is wrong with my first view
https://github.com/Fgregorio1/ftgtraderexample.git
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+u
nothing wrong ,
you just need to link your view with a route ..
please go for the official django tutorial to understand the basics
https://docs.djangoproject.com/en/2.2/intro/tutorial01/
On Tue, Oct 8, 2019 at 4:36 PM Felipe Gregório USA
wrote:
> Please tell me what is wrong with my first view
how i do this?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://group
Please follow the link in my last email
On Tue, 8 Oct 2019, 5:05 pm Felipe Gregório USA,
wrote:
> how i do this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
I need to create text data type in model.py, CharField() has max_len as
mandatory, What do you recommend instead of CharField() ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
Hi,
This issue is fixed to me by instantiating the FormHelper() in forms.py.
I referred :
https://django-crispy-forms.readthedocs.io/en/latest/crispy_tag_forms.html
class ApplyGSPForm(ModelForm):
*helper = FormHelper()*
class Meta:
model = ApplyGSP
fields = ['model_n
Hello,
Today for my project I tried to find a solution for an issue with duplicate
assets. Combining several approaches I managed to build an app to solve it.
While debugging the app, I think, I found a bug in Media class.
File *django/forms/widgets.py*
@html_safe
class Media:
def __init_
TextField()
On Tue, Oct 8, 2019 at 12:42 PM Mohsen Pahlevanzadeh <
m.pahlevanza...@gmail.com> wrote:
> I need to create text data type in model.py, CharField() has max_len as
> mandatory, What do you recommend instead of CharField() ?
>
> --
> You received this message because you are subscribed
At first I hoped not to dive in JS and mostly use django things, but ok,
now I see it's not that simple.
Thanks for help.
вторник, 8 октября 2019 г., 16:49:08 UTC+3 пользователь lemme smash написал:
>
> okay, i think i got it. you probably need to provide some snippet to
> reload list of choice
Hi,
I'm facing challenges to get the result of below problem,I have two models
in my application i.e.,
class UserMenu(models.Model):
name = models.CharField(max_length=50)
def __str__(self):
return self.name
class MenuMapping(models.Model):
user_menu = models.ManyToManyFi
Hello,
Thank your for your reply. I'm not using Python 2. I have attached the
traceback as is emailed by Django to the Admin.
Traceback:
>
> File
> "/home/user/api/env/lib/python3.6/site-packages/django/core/handlers/exception.py"
>
> in inner
> 34. response = get_response(req
Hi I am looking for some help to generate a barcode for my practice project
and I need commercial code128 generation help.
I need to add my customer ID and product ID in the barcode.
Any help would be appreciated.
Regards,
Shazia
--
You received this message because you are subscribed to the G
Hi,
If you use python3 you can install python-barcode and use it
Read its documentation:
https://pypi.org/project/python-barcode/
Warmest Regards,
Ehab
From: django-users@googlegroups.com on behalf of Shazia Nusrat
Sent: Wednesday, October 9, 2019 12:15 AM
Hello,
I am using Daphne to run a Quart app (
https://pgjones.gitlab.io/quart/index.html#) and I wanted to use caching to
improve performance.
I looked at the settings for Daphne and have a question about the below
option:
--application-close-timeout APPLICATION_CLOSE_TIMEOUT
Digital ocean
On Tue 8 Oct, 2019, 3:02 PM ram.mullapudi, wrote:
>
> Hello,
>
> I'm looking for cheaper, secure and reliable way to host my website? The
> site is being developed on DJango FWK. We are currently on GCP and also
> reviewed other popular vendors too. I recently came to know about
Hello,
I am newbie in Django and Python so hope you will be indulgent
I've read and read again the Django documentation but for now, some concept
still are very abstract for me...
I have a database and I use ModelForm and I try to customize this admin forms
I currently have a main form with a
Can you replace `extra = 1` with `extra = 0` ?
On Wed, Oct 9, 2019 at 1:26 PM Jérôme Le Carrou
wrote:
> Hello,
> I am newbie in Django and Python so hope you will be indulgent
> I've read and read again the Django documentation but for now, some concept
> still are very abstract for me...
>
> I
22 matches
Mail list logo