Re: How I can access to the jQuery, it is build-in Django-Admin, in my custom views?

2016-07-04 Thread Luis Zárate
Are you using django admin template? Where are your Jquery call? in the header ? A template example could be useful. 2016-07-03 12:20 GMT-06:00 Seti Volkylany : > It is not worked even the main admin page > > django.jQuery('body') > Uncaught ReferenceError: django is

Re: Installing Django Problem.

2016-07-04 Thread Steve R Burrus
Wel;l everyone I guess that I have met with success as far as connecting to   the Django server a nd configuring the admin BUT there remains A LOT of things about Django I don't know yet.    On Monday, July 4, 2016 2:31 PM, ludovic coues wrote: I could ask you what

Re: Friends i can not run python manage.py migrate on Django 1.6.1. Can you give me advice plz?

2016-07-04 Thread Крутые видео-советы по Гугл Хром , Вконтакте , Ютуб
Thank you a lot friend! I installed Python 3 and installed Django 1.9 so everything works now... понедельник, 4 июля 2016 г., 20:26:45 UTC+3 пользователь Juan Escamilla написал: > > As Dvschramm said the migrate command was iimplemented until 1.7 . > You can try to pip upgrade django to a

Re: Friends i can not run python manage.py migrate on Django 1.6.1. Can you give me advice plz?

2016-07-04 Thread Крутые видео-советы по Гугл Хром , Вконтакте , Ютуб
Thank you a lot friend! I installed Python 3 and installed Django 1.9 so everything works now... понедельник, 4 июля 2016 г., 20:19:20 UTC+3 пользователь Dvschramm написал: > > Look into South. Django migrations wasn’t included until 1.7 if I remember > correctly. > > > On July 4, 2016 at

opentok tokbox

2016-07-04 Thread Adam
Has anyone integrated these into a django project? Are there any good alternatives? Our use case is as a virtual classroom / webinar. It seems odd that with all there documentation, nothing mentions django. Likewise furious googling fails to turn up anything beyond one GitHub example

Re: Slow Django dev server reload

2016-07-04 Thread Vijay Khemlani
Why... are you answering questions directed to Krishna? You are not the one with the slow loading server. On Mon, Jul 4, 2016 at 4:19 PM, Fred Stluka wrote: > Krishna, > > I'm using: > - Mac OSX 10.11.5 (El Capitan) > - 2.3GHz Intel Core i7 > - 16 GB 1333 MHz DDR3 > - 512GB

Re: Slow Django dev server reload

2016-07-04 Thread Fred Stluka
Krishna, I'm using: - Mac OSX 10.11.5 (El Capitan) - 2.3GHz Intel Core i7 - 16 GB 1333 MHz DDR3 - 512GB SSD - Python 2.7.3 - Django 1.4.2 - MySQL 5.1.33 And it takes less than a second from when I type:     % python manage.py runserver

Re: When need return the HttpResponseBadRequest and why?

2016-07-04 Thread Gergely Polonkai
400 Bad Request is responded if the client sends a… um… Bad Request? Jokes aside, it may represent many things. Web servers may send 400 if the HTTP request is malformed. Applications, such as a Django app, may send 400 if the request cannot be processed, e.g. when a required header is missing or

Re: Slow Django dev server reload

2016-07-04 Thread Fred Stluka
Hildeberto, No, the number of migrations does affect how long it takes to run automated tests, but should not affect how long it takes the dev server to start. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/

Re: Installing Django Problem.

2016-07-04 Thread ludovic coues
I could ask you what error you get when running syncdb. I could tell you to use manage.py createsuperuser. But the best advice anyone can give you is to do a tutorial about django. The django girls one is really great. The one from the official documentation is shorter. Either one will give you a

Preferable JS's coding style for the Django.

2016-07-04 Thread Seti Volkylany
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: https://github.com/madrobby/pragmatic.js,

When need return the HttpResponseBadRequest and why?

2016-07-04 Thread Seti Volkylany
. -- 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 post to this group, send email to django-users@googlegroups.com.

Django and SQL Server

2016-07-04 Thread Massimo Barbierato
Hi everybody. I have a little problem with SQL Server. I'm using django-pyodbc as db backend but when i run inspectdb it occurs an error because some of the tables in the SQL Server database have unicode chars (an example: the table name is 'Attività'). How can I resolve that? I can't change

Re: Friends i can not run python manage.py migrate on Django 1.6.1. Can you give me advice plz?

2016-07-04 Thread Juan Escamilla
As Dvschramm said the migrate command was iimplemented until 1.7 . You can try to pip upgrade django to a suitable version: pip install 'django>1.6 ,<1.7' more on: http://stackoverflow.com/questions/5226311/installing-specific-package-versions-with-pip El lunes, 4 de julio de 2016,

Re: Friends i can not run python manage.py migrate on Django 1.6.1. Can you give me advice plz?

2016-07-04 Thread Darian Schramm
Look into South. Django migrations wasn’t included until 1.7 if I remember correctly.  On July 4, 2016 at 10:04:27 AM, Крутые видео-советы по Гугл Хром, Вконтакте, Ютуб (yan.hadzhyi...@gmail.com) wrote: > Friends i can not run python manage.py migrate on Django 1.6.1. > > I read that i need

Friends i can not run python manage.py migrate on Django 1.6.1. Can you give me advice plz?

2016-07-04 Thread Крутые видео-советы по Гугл Хром , Вконтакте , Ютуб
Friends i can not run python manage.py migrate on Django 1.6.1. I read that i need to install South first. I installed it but "python manage.py migrate" has the same problem Please see screenshot_43 friends So i read another google topic

Postgis Raster Query API Spatial Look up. Intersects problem

2016-07-04 Thread Juan Escamilla
Dear Developers, I recently installed the latest Django version (github) '1.11.dev20160703135514' To use the spatial lookup API . Specially the GeoQuery.filter(__intersects, something) function. I've found that the method hangs while executing. I'm using a very big dataset. If I use a

Re: How to freeze models without denormalizing them?

2016-07-04 Thread Антон Ставинский
Hello. If you changing some fields of Author, books will not changed, except you changed Author.id. I think it would be much clear if you will provide some real python example. On Sunday, July 3, 2016 at 5:20:40 PM UTC+3, Hermano Cabral wrote: > > Hello guys and gals, > > Assuming a simple

Re: Installing Django Problem.

2016-07-04 Thread Steve Burrus
Well I successfully set up the Django server an d then connected to oit BUT I couldn't use that "syncdb" command to then set the pw and username in the admin. On Sun, Jul 3, 2016 at 11:15 PM, Mike Dewhirst wrote: > On 4/07/2016 1:06 PM, Steve Burrus wrote: > >> Well I did

Re: Slow Django dev server reload

2016-07-04 Thread Vijay Khemlani
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 project? > > On Mon, Jul 4, 2016 at 9:13 AM, Babatunde Akinyanmi > wrote: > >> This is a

How get used AdminSite in a Django-project (custom or standart)?

2016-07-04 Thread Seti Volkylany
if I have my custom adminsite http://dpaste.com/0ZJ77EH To get used the adminsite I simple imported it. from conf.admin import ProgrammerHelperAdminSite But may exists build-in Django method, for getting used AdminSite For example Django has useful method for getting AUTH_USER_MODEL from

Re: resetting table id (SOLVED)

2016-07-04 Thread Javier Guerra Giraldez
On 4 July 2016 at 01:09, Gary Roach wrote: > All of this drove home the fact that db.sqlite3 is no more than a text file > and can be thrown away and recreated any time I like wrong. SQLite keeps the database on a single file, but its nowhere near a "text file". you

Re: Installing Django Problem.

2016-07-04 Thread Hildeberto Mendonça
I strongly recommend this tutorial for beginners: http://tutorial.djangogirls.org/en/ I helped me on my first contact with Django. The girls are doing a great job there. On Mon, Jul 4, 2016 at 6:15 AM, Mike Dewhirst wrote: > On 4/07/2016 1:06 PM, Steve Burrus wrote: > >>

Re: Slow Django dev server reload

2016-07-04 Thread Hildeberto Mendonça
Isn't it related to the amount of migration files in your project? On Mon, Jul 4, 2016 at 9:13 AM, Babatunde Akinyanmi wrote: > This is a punch in the dark. It takes about 3 - 5 seconds on my my > windows machine when I run the dev server using pycharm's inbuilt terminal

Re: Slow Django dev server reload

2016-07-04 Thread Babatunde Akinyanmi
This is a punch in the dark. It takes about 3 - 5 seconds on my my windows machine when I run the dev server using pycharm's inbuilt terminal and my code is way below 5k lines On Jul 4, 2016 7:20 AM, "Krishna Bharadwaj" wrote: > Hi Fred, > > It takes about 3.5 - 5

Re: Slow Django dev server reload

2016-07-04 Thread Krishna Bharadwaj
Hi Fred, It takes about 3.5 - 5 seconds on my machine (Mac OSX - 2.6 GHz Intel Core i5, 8 GB 1600 MHz DDR3 and SSDs). I was curious to know if I was doing something wrong. Any pointers regarding this will be very helpful. On Sunday, 3 July 2016 20:47:50 UTC+5:30, Fred Stluka wrote: > >