Man!!!
You don't believe what's the problem is!!?!
The problem is my Firefox!! For some reason, firefox make a huge cache..
and it's using very old version of CSS and JS... I clean All my data, and
work!!!
Thanks Again!
T.·.F.·.A.·. S+F
*Fellipe Henrique P. Soares*
e-mail: > echo "lkrrovk
On Sat, Mar 21, 2015 at 5:25 AM, Dan Dong wrote:
> Hi,
> Does anybody know how to supply the input parameters to "python
> manage.py syncdb" from a script? E.g, to set the the followings parameters:
>
> Would you like to create one now? (yes/no): yes
> Username (leave blank to use 'root'):
> Em
It works, but the javascript you are generating has syntax errors.
For example, you are missing the commas after every element.
Either way, dumping variables directly from django templates to JavaScript
is not very elegant, you could make a JSON object in the view beforehand
json_tags = json.dum
They do work. But did you check the generated page? I bet you get an
error in your browser's JavaScript console about syntax.
On Fri, Mar 20, 2015 at 4:59 PM, dk wrote:
> I am trying to create an autocomplete tag with jquery UI
> http://jqueryui.com/autocomplete/
>
>
>
> in my view I got a list o
Hi, All,
Does anybody know how to supply input parameters to "python manage.py
syncdb" from a script? E.g. in a bash/python script, to set the following
parameters:
Would you like to create one now? (yes/no): yes
Username (leave blank to use 'root'):
Email address: x...@xxx.xxx
Password:
hello everybody!
i'm running in this error while using modelformsets inside a wizardform.
Environment:
Request Method: GET
Request URL:
http://localhost:8000/alta_socies/proces_alta_projecte_autoocupat/adreces/
Django Version: 1.7.7
Python Version: 2.7.9
Installed Applications:
('django.contr
Hi,
Does anybody know how to supply the input parameters to "python manage.py
syncdb" from a script? E.g, to set the the followings parameters:
Would you like to create one now? (yes/no): yes
Username (leave blank to use 'root'):
Email address: x
Password: xx
Password (again):
hello everybody! ^-^
i'm dealing with this:
Environment:
Request Method: GET
Request URL:
http://localhost:8000/alta_socies/proces_alta_projecte_autoocupat/adreces/
Django Version: 1.7.7
Python Version: 2.7.9
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.co
I am trying to create an autocomplete tag with jquery UI
http://jqueryui.com/autocomplete/
in my view I got a list of commands, in the meant time I am just testing
it, so I have a list with ["a", "aaa", "b", "bbb"]
$(function() {
var avaibleTags = [
{% for i in list_commands %}
> The Python functions I wish to execute use numpy and other Python packages I
> would like like to convert to JavaScript.
As has been suggested, the tutorial is where you want to start. By the time you
finish part 4 you will have a good idea how to bypass references to a data
model and use for
Hi everbody,
I submitted a proposal to the W3C for browsers to implement a
model-view-controller design pattern so that we don’t need to build them using
Javascript frameworks for our sites.
The message is here:
https://lists.w3.org/Archives/Public/public-whatwg-archive/2015Mar/0071.html
On Friday, March 20, 2015, john wrote:
> Maybe another way to reply to your question is to break down how it would
> work normally.
> There are two sides of this question - the server side and the client side.
>
> In general client side stuff is done in javascript.
> Server side requests are don
Maybe another way to reply to your question is to break down how it
would work normally.
There are two sides of this question - the server side and the client side.
In general client side stuff is done in javascript.
Server side requests are done in python.
So you have to decide where you want
Hi Hans,
I know this isn't really solving your issue, but it can remove a symptom. I
have successfully used pgBouncer to pool the connections, so that
connections aren't handled by django directly, but you connect to a
connection pool, so that it can create and reuse connections more
efficiently.
On Friday, March 20, 2015 at 11:09:57 AM UTC-6, David Gleba wrote:
>
>
> You don't actually need python or django to get form input and do
> something with the input.
>
My function is not as simple as adding two numbers and for various reasons
I am not interested in using Javascript. I just use
For anyone who might come across this old problem, this stack overflow
question solves it:
http://stackoverflow.com/questions/7877340/typeerror-doesnotexist-object-is-not-callable
On Wednesday, December 31, 2008 at 8:58:41 PM UTC-8, gkelly wrote:
>
> I am having the following error sent to my e
On Mar 20, 2015, at 9:59 AM, Fellipe Henrique wrote:
>
> On Fri, Mar 20, 2015 at 11:43 AM, Vijay Khemlani wrote:
> Soo when you open your webpage, look at its source code, click on the
> "/static/public/css/bootstrap.min.css" path it shows the file in Firefox?
>
> Yes.. when I open source
OK, this is officially no longer a Django problem xD
Try adding the type="text/css" attribute to the link tag, also remember to
close it just in case
Other than that you may have problems in your HTML
On Fri, Mar 20, 2015 at 1:59 PM, Fellipe Henrique
wrote:
>
> On Fri, Mar 20, 2015 at 11:43
I'm not aware that you can use javascript in views.py. In the Template
- I believe you mean.
Johnf
On 03/20/2015 09:35 AM, David Gleba wrote:
Also, I am not an expert in Django yet, but I think you can use html
and javascript in views.
--
You received this message because you are subscribed
I will try to answer your question here another way.
I searched google for: form to add two numbers
I see:
http://stackoverflow.com/questions/14496531/adding-two-numbers-using-javascript
This example uses an HTML form and javascript to perform the task on the
input.
You don't actually need p
On Fri, Mar 20, 2015 at 11:43 AM, Vijay Khemlani wrote:
> Soo when you open your webpage, look at its source code, click on the
> "/static/public/css/bootstrap.min.css" path it shows the file in Firefox?
>
Yes.. when I open source code in firefox, click them.. show me the file..
but, nothing
Hello,
I just wrote a migration class with RunPython. When I run my tests, my
coverage value drops to to ninety-something percents, because the initial
database created by the test runner is (obviously) empty, thus, my
migration function’s for iteration won’t run.
Is there a way to test such migr
On Friday, March 20, 2015 at 9:58:23 AM UTC-6, David Gleba wrote:
>
> Does part 3 of the tutorial cover how to make a form, get the values
> without storing them in a database, perform the arithmetic and then display
> the result? I didn't see that in there.
>
I don't what to store them in a da
My Django application is exceeding the maximum number of simultaneous
database
connections (100) to the Postgres database when running through Gunicorn
with
async eventlet workers. When the limit it exceeded it starts returning
500-errors until new connections can be established.
Setting `CONN_M
Does part 3 of the tutorial cover how to make a form, get the values
without storing them in a database, perform the arithmetic and then display
the result? I didn't see that in there.
On Thursday, March 19, 2015 at 11:58:14 AM UTC-4, Andrew Farrell wrote:
>
> The other commenters are right tha
On Mar 20, 2015, at 7:37 AM, Néstor wrote:
> Is it OK to have this syntax?
> href=“{% static "public/css/bootstrap.min.css" %}">
fwiw yes it is OK to have that syntax with double quotes inside another set of
double quotes.
- Tom
>
> Should you not do something like this:
> href="{% static '
Soo when you open your webpage, look at its source code, click on the
"/static/public/css/bootstrap.min.css" path it shows the file in Firefox?
On Fri, Mar 20, 2015 at 11:37 AM, Néstor wrote:
> Is it OK to have this syntax?
> href="{% static "public/css/bootstrap.min.css" %}">
>
> Should y
Is it OK to have this syntax?
href="{% static "public/css/bootstrap.min.css" %}">
Should you not do something like this:
href="{% static 'public/css/bootstrap.min.css' %}">
On Fri, Mar 20, 2015 at 7:13 AM, Fellipe Henrique
wrote:
> So, answer the questions:
>
> - I in Debug mode: DEBUG = Tru
On Fri, Mar 20, 2015 at 11:24 AM, Vijay Khemlani wrote:
> http://localhost:8000/static/public/css/bootstrap.min.css
In fact, if I type these in firefox, show me the file... :)
but nothing in my HTML..
here is my html,
{% load staticfiles %}
Test!!
I really don't know, how is t
You don't need special rules in the URL config to serve static files in
development as far as I know
so you have a route to "/static/public/css/bootstrap.min.css" and I assume
that when you try to access
http://localhost:8000/static/public/css/bootstrap.min.css
you get a 404 error
Where is boot
HI
check your main urls.py for something like this:
if settings.DEBUG:
urlpatterns += patterns('',
#(r'^media/(?P.*)', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
(r'^static/(?P.*)', 'django.views.static.serve',
{'document_root
So, answer the questions:
- I in Debug mode: DEBUG = True
- Here is my settings.py:
https://gist.github.com/fellipeh/4eb8143f6ac362dff9e0
- Yes, all my folder has the correct permission, I can edit any files there.
- I my HTML I have:
and in source code, in browser show these:
- When I
This one "{% static "" %}" is MUCH better than {{STATIC_URL }}.
It is recommended way.
You almost never need to use {{STATIC_URL }}.
On Friday, March 20, 2015 at 3:59:08 AM UTC+3, Fellipe Henrique wrote:
>
> Hi,
>
> In my template, when I made a reference to my Static folder.. what's the
>
Hi,
I want to use single virtual host for multiple django sites. I have
windows OS and apache2.4 with mod wsgi 3.5. But On windows mod_wsgi does
not support WSGIDaemonProcess. Please help me to serve multiple django
sites under single virtual host.
--
You received this message because you
34 matches
Mail list logo