Tuesday, March 27, 2018

Re: Abridged summary of django-users@googlegroups.com - 37 updates in 18 topics

Built i Django

Color Editor Live Demo quick preview of using the color editor. Link to site: https://bit.ly/2Geignd

On Tue, Mar 27, 2018 at 4:10 PM, <django-users@googlegroups.com> wrote:
Utpal Brahma <utpalbrahma1995@gmail.com>: Mar 27 05:36AM -0700

I have got this error in section //Writing your first patch for Django//
 
when i performed this below command in terminal.
i have got an error.
...more
Kasper Laudrup <laudrup@stacktrace.dk>: Mar 27 02:59PM +0200

Hi Utpal,
 
On 2018-03-27 14:36, Utpal Brahma wrote:
 
> when i performed this below command in terminal.
> i have got an error.
 
> git clone git@github.com:YourGitHubName/django.git
...more
Etienne Robillard <tkadm30@yandex.com>: Mar 27 07:45AM -0400

Hi,
 
I'm planning to release a new version of Django-hotsauce (0.9.2) but i'm
short in ideas about extending the toolkit in new ways.
 
Here's what I got so far:
 
1. PyPy 5.10.0 support
...more
"MFM ™" <ziyadzezo7@gmail.com>: Mar 27 02:48AM -0700

No module named django someone help me
...more
Marsel Tzatzo <tmarselg@gmail.com>: Mar 27 02:35PM +0300

Try pip install django
 
Marsel Tzatzo,
Mobile Software Engineer
 
============================
I welcome VSRE emails. Learn more at http://vsre.info/
============================
 
...more
Utpal Brahma <utpalbrahma1995@gmail.com>: Mar 26 09:11PM -0700

I am in tutorial 3 of Django.But i am stuck in understanding the below code.Please heLP me!!!
 
 
{% if latest_question_list %}
<ul>
{% for question in latest_question_list %} ...more
Lachlan Musicman <datakid@gmail.com>: Mar 27 03:17PM +1100

Utpal, it's not pure HTML. It's got some templating in there as well -
Jinja2 I think is the default.
 
Regardless, it reads like Python:
 
if the list exists, open an unnumbered list ...more
Jani Tiainen <redetin@gmail.com>: Mar 27 10:06AM

Hi.
 
That's actually Django template which uses Django templating language. It's
not Jinja2 as suggested in other post.
 
What it does is well explained in that other post though.
...more
Daniel Hepper <daniel.hepper@gmail.com>: Mar 27 09:45AM +0200

Hi,
 
I just want to chime in and clarify that while Django does indeed support
Jinja2, it is not the default template language.
 
Django comes with its own template language, which is used in the ...more
Utpal Brahma <utpalbrahma1995@gmail.com>: Mar 27 04:58PM +0530

Thanks a lot ---
Lachlan Musicman
Daniel Hepper
 
and
Daniel Hepper
 
Your answer meant a lot to me.Thank you very much guys.
 
On Tue, Mar 27, 2018 at 1:15 PM, Daniel Hepper ...more
James <jamesrichmondfoley@gmail.com>: Mar 26 06:15AM -0700

I'm using Channels 2 to build a shared 3D model viewing tool, but I'm
running into performance issues where Channels can't keep up and uses 100%
of a single core. This results in clients just ...more
Andrew Godwin <andrew@aeracode.org>: Mar 26 09:34AM -0700

(You double-posted this so I'm just going to reply to this one)
 
I need to know a bit more information about what the slowdown is - in
particular:
 
* Have you run with PYTHONASYNCIODEBUG=1 set as ...more
James Foley <jamesrichmondfoley@googlemail.com>: Mar 27 01:51AM -0700

Apologies for the double post, I've removed the other one.
 
PYTHONASYNCIODEBUG doesn't appear to give me any warnings.
 
This test I am running is only between two users, each user belonging to ...more
James Foley <jamesrichmondfoley@googlemail.com>: Mar 27 04:11AM -0700

It looks like accessing scope for url kwargs is a big hit on performance.
In fact hitting scope for anything seems to introduce some form of delay.
 
I'm getting very mixed results so I'm unsure if ...more
Derek <gamesbook@gmail.com>: Mar 27 04:09AM -0700

The dev branch of Django Suit (custome admin style) is using Bootstrap 4:
 
http://django-suit.readthedocs.io/en/develop/getting_started.html#v2-dev-branch
 
 
On Sunday, 25 March 2018 19:49:21 ...more
Damon Branch <damonbranch1@gmail.com>: Mar 26 02:26PM -0700

Hi,
I'm developing a website which contains a database. I then need to be able
to update that database from a separate python application like a desktop
or mobile app.
I am new to Django and ...more
Larry Martell <larry.martell@gmail.com>: Mar 26 06:01PM -0400


> Is this the right approach/will it work or is there a better way to do it?
> Also, are there any examples of accessing a django built website through
> another program?
 
A bit confused but ...more
Damon Branch <damonbranch1@gmail.com>: Mar 26 08:31PM -0700

Hi Larry,
Thanks for answering - yes that is what I mean I want a stand alone program
to access the website server and database.
You said you make 'python requests or instantiating one of my ...more
"Andréas Kühne" <andreas.kuhne@hypercode.se>: Mar 27 11:02AM +0200

Hi Damon,
 
I think you should consider creating an app that can communicate with the
django backend via an API - for example using the django rest framework:
http://www.django-rest-framework.org/ ...more
Stefano Tranquillini <stefano.tranquillini@gmail.com>: Mar 27 01:31AM -0700

Hi all,
 
I would like to personlize a widget adding an extra link. In particular I
want to change the forms.widgets.CheckboxSelectMultiple .
I've read this: ...more
Sadaf Noor <sadaf2605@gmail.com>: Mar 27 01:45PM +0600

I am using django rest framework filters in my app. For a viewset that
looks like following:
 
|classProductViewSet(viewsets.ModelViewSet):queryset
=Product.objects.all()serializer_class ...more
prince gosavi <princegosavi12@gmail.com>: Mar 26 09:09PM -0700

I am working on a project where I need to have different styles for
different templates.
I have a base.html template which gets extended in other templates.
Following is the snippet:
base.html ...more
Mike Dewhirst <miked@dewhirst.com.au>: Mar 27 04:23PM +1100

On 27/03/2018 3:09 PM, prince gosavi wrote:
>     <link rel="stylesheet" type="text/css"
> href="{%static'main_app/main.css'%}">
> |
 
In the base.html add as many blocks as you like to be ...more
prince gosavi <princegosavi12@gmail.com>: Mar 26 11:08PM -0700

Thanks for the reply but it is not working for me.
When i check the page source of the loaded page the 'query.css' is not
loaded.
Is it because of the urls? or path? or something else. ...more
Mike Dewhirst <miked@dewhirst.com.au>: Mar 27 06:05PM +1100

On 27/03/2018 5:08 PM, prince gosavi wrote:
 
> STATIC_ROOT =os.path.join(BASE_DIR,'staticfiles')
> |
 
> my project structure is something like this:
 
You need to add some print statements to ...more
Simon Connah <sc_opensource@yahoo.com>: Mar 26 05:33PM

Well, I've opened up the repository if anyone is interested in taking a look. As I've said elsewhere, it is very early in development, but I have a couple of weeks where I should be able to dedicate a ...more
Dylan Reinhold <dreinhold@gmail.com>: Mar 26 10:44AM -0700

One thing I noticed.
 
In your Blog model you are saving your slug every time.
 
If you are using the slug as your URL this means if a title is changed the
URL will change and anyone who had the ...more
Simon Connah <sc_opensource@yahoo.com>: Mar 27 01:11AM

Oh, good catch. I'll fix that tomorrow.
Thanks.
On Monday, 26 March 2018, 18:45:24 BST, Dylan Reinhold <dreinhold@gmail.com> wrote:

One thing I noticed.
 
In your Blog model you are ...more
Ryan Manzer <ryan.manzer@gmail.com>: Mar 26 02:00PM -0700

Personally, I have had a good deal of success building data APIs using
Django Rest Framework and then consuming the data with the D3.js javascript
library. However, I can understand that may be a ...more
sum abiut <suabiut@gmail.com>: Mar 27 08:29AM +1100

i have build an app that allow the admin to add survey title, question and
choices. I needed assistance display all the questions and answer in front
end to allow the users to take the survey. ...more
Jamaldin Pro <jamalsema2017@gmail.com>: Mar 26 08:17AM -0700

Hello
I was creating a Djnago project and when I finish it, it was working
perfectly but when I start adding ("name"/"text"/"information") to models
from admin page, It stops working I mean after ...more
Julio Biason <julio.biason@azion.com>: Mar 26 04:46PM -0300

Hi Jamaldin,
 
Kinda hard to help you here, because there is a lot of information lacking.
Like, do you see any errors on your logs? Are you running in dev
environment (like in `python manage.py ...more
zubair alam <zubair.alam.jmi@gmail.com>: Mar 26 08:25AM -0700

One solution would be as following:
 
1. Let Java EE application consume the Rest API provided by Django
(using DRF library which uses Django Models, its own serializers and
viewsets). ...more
prince gosavi <princegosavi12@gmail.com>: Mar 26 08:31AM -0700

Ok thanks for the suggestions I will try them all and see which fits my
requirements and provide a feedback.
Regards
 
On Monday, March 26, 2018 at 12:03:28 AM UTC+5:30, prince gosavi wrote:
...more
"Hunter.Currie@gmail.com" <hunter.currie@gmail.com>: Mar 26 07:44AM -0700

Using database time functions is a bit of a hassle since each database
seems to have its own syntax for these types.
If you are using MySQL, the function you are calling will only return a ...more
Tim Graham <timograham@gmail.com>: Mar 26 07:30AM -0700

You need to set support_microseconds=True on the widget.
https://docs.djangoproject.com/en/stable/ref/forms/widgets/#django.forms.Widget.supports_microseconds
 
On Sunday, March 25, 2018 at 9:03:18 ...more
James Foley <jamesrichmondfoley@gmail.com>: Mar 26 06:41AM -0700

I'm using Channels 2 to build a real time 3D model viewing app where all
users can rotate and view a model. I'm having to send quite a bit of data
(roughly one message every 20ms) and I've run ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to django-users+unsubscribe@googlegroups.com.



--
Best Regards,
Samuel Muiruri.
Student in Machine Learning & a veteran web developer.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJZFZXq-Fh9LU65XWSdpAW9WoDWmTqaLefxQeRFhAyWAJFkLCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment