On Mon, Jul 4, 2016 at 10:56 AM, Seti Volkylany
wrote:
> In the Web have many a variants for JS style coding. The Django give less
> detail about good JS coding (see
> https://docs.djangoproject.com/en/1.9/internals/contributing/writing-code/javascript/#code-style
> ).
> Here is what I found: htt
Hello, Andrew
All of our Tag, Startup, NewsLink, and Post will be right back in the
database thanks to our data migrations. Example 22.40
Why? a) you dumped the whole database, and b) you only did makemigrations
for the User app.
we opt to remove the CreateModel operation for Profile and move
Rather than making everything world-readable, I usually create a user
and chown all the directories to that user.
Can you post your Dockerfile?
On Wed, Jul 6, 2016 at 5:28 AM, Larry Martell wrote:
> I am trying to run nginx/uwsgi/django in a docker container. If I
> mount the dir with my django
Krishna,
Only a third of your count -- 551
% tcsh
% python -v manage.py runserver >&! ~/1.1
% grep -E "^import" ~/1.1 | wc -l
551
So, you didn't see any noticeable pauses as the -v output was
streaming to the terminal window? Sounds l
I am trying to run nginx/uwsgi/django in a docker container. If I
mount the dir with my django project in the container when I create
the container it works fine. But I want to make the image
self-contained and not dependent on the local file system. So I
changed the Dockerfile to copy the dir cont
Vijay, about 75 as mentioned in the other post answer.
On Monday, 4 July 2016 19:16:03 UTC+5:30, Vijay Khemlani wrote:
>
> How many models are there in your project?
>
> On Mon, Jul 4, 2016 at 3:46 AM, Hildeberto Mendonça > wrote:
>
>> Isn't it related to the amount of migration files in your pro
Hi Fred,
Thanks for providing your project as a reference and also the python
verbose tip. I just started my dev server with the -v option to see how
many import statements are fired. grep '^import ' returned about 1500 lines
in the output (about 75 models with about 40k lines of code). I could
I am used the HttpBadRequest only if input is not correct, but url for view
is correct.
Thank you
On Mon, Jul 4, 2016 at 10:34 PM, Gergely Polonkai
wrote:
> 400 Bad Request is responded if the client sends a… um… Bad Request?
>
> Jokes aside, it may represent many things. Web servers may send 40
I resolved my problem added two scripts to template
type="text/javascript" charset="utf-8">
> type="text/javascript" charset="utf-8">
but thank you for responsive
On Tue, Jul 5, 2016 at 8:25 AM, Luis Zárate wrote:
> Are you using django admin template?
> Where are your Jquery call? in the h
correction
$ git remote add origin g...@bitbucket.org:[MyUSER]/[ProyectName].git
2016-07-05 10:38 GMT-03:00 Ricardo Daniel Quiroga :
>
> $ cd myproject
> $ git init
> $ touch README.md
> $ git add .
> $ git commit -m 'first commit'
> $ git remote add g...@bitbucket.org:[MyUSER]/[ProyectName].gi
$ cd myproject
$ git init
$ touch README.md
$ git add .
$ git commit -m 'first commit'
$ git remote add g...@bitbucket.org:[MyUSER]/[ProyectName].git
$ git push origin master
2016-07-05 9:12 GMT-03:00 Fred Stluka :
> Deepak,
>
> Bitbucket has pretty good documentation, including a Getting Star
Deepak,
The error: "unindent does not match any outer indentation level"
means that you have a line of code that is less indented than the
immediately previous line, but is not lined up with any line before
that. In your case, it's this line:
de
Deepak,
Bitbucket has pretty good documentation, including a Getting Started
section. Should tell you all you need to know. See:
- https://www.google.com/search?q=bitbucket+getting+started
--Fred
Fred Stluka -- mailto:f...@bristle.com --
I have created a simple django project and i have created a simple app in
it . Now i want to use Bitbucket for code development since we are working
in a team how could i possibly do that ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
am getting unindentation error can any one fix my problem
File "/home/deepak/Desktop/ecommerce-2/src/products/models.py", line 31
def get_absolute_url(self):
from django.core.urlresolvers import reverse
from django.db import models
class ProductQuerySet(models.query.QuerySet):
de
15 matches
Mail list logo