Hi,
Actually flask uses a style very similar to what you want.
To my knowing, you must use this pattern for Django because it has the
concept of *including *
URLs.
Routing in flask:
@app.route('post/', methods=['GET'])
def post_view(post_id=None):
# do something to render the post
retur
Hi Emil,
It is a very interesting idea.
+1 from me
On Mon, Sep 12, 2016 at 11:32 PM, Emil Stenström wrote:
> Hi Djangonauts,
>
> I'm just back from my second year of teaching Django to absolute
> beginners. The course is a combination of HTML, CSS, Python, and Django,
> and after five days of
Hi all, a quick update.
https://github.com/django/django-box now has a live compiled box available
from https://atlas.hashicorp.com/djangoproject/boxes/django-box-1.11
What this means is that a minimal Vagrantfile can now be:
Vagrant.configure("2") do |config|
config.ssh.forward_agent = true
Hey Chris,
The goal of these tests is to see how channels performs with normal HTTP
traffic under heavy load with a control. In order to compare accurately, I
tried to eliminate variances as much as possible.
So yes, there was one worker for both Redis and IPC setups. I provided the
superviso
Thank you for your input, Jarek.
Assuming I have an existing model, adding
models.CharField(blank=True, max_length=150)
to it, doesn't invoke the questioner on current master. Changing this field
to
models.CharField(max_length=150)
doesn't call the questioner either.
Lookin
Hi Djangonauts,
I'm just back from my second year of teaching Django to absolute beginners.
The course is a combination of HTML, CSS, Python, and Django, and after
five days of coding they have a real live website that they can show to
friends. It's always such a great experience to see the loo
Is this one worker each? I also don't really understand the implication of
the results. There's no context to explain the numbers nor if one result is
better than another.
On Sunday, September 11, 2016 at 7:46:52 AM UTC-5, Robert Roskam wrote:
>
> Hello All,
>
> The following is an initial repor
Hi Abdulrahman
I am glad you helped me. I am learning python on Coursera, (Fundamentals of
Computing Specialization). I think I will be learning a lot in this course
and become an intermediate programmer.
On Monday, September 12, 2016 at 2:17:28 AM UTC+5:30, Abdulrahman Alotaibi
wrote:
>
> Hi