opps, I forgot the url
com/watch?v=JZVPbHilwLI
On Thu, Sep 11, 2014 at 11:52 PM, Michael Martin
wrote:
> I know there has to be something wrong with either jython2.7b3 or with the
> django 1.7 releases. What I did was follow someones tutorial to show where
> I start experiencing problems with r
I know there has to be something wrong with either jython2.7b3 or with the
django 1.7 releases. What I did was follow someones tutorial to show where
I start experiencing problems with rendering. If do tutorials 2-5, in the
middle of tutorial 5 around 6:51 in the video is where Django fails to
r
Did you run
python manage.py collectstatic
?
cheers
L.
On 12 September 2014 11:11, Michael A. Martin wrote:
> It seems like when I take all the CSS and JS the html renders with images.
> But this site rendered with a previous version. I pretty much ruined this
> dev project today trying to fig
It seems like when I take all the CSS and JS the html renders with images. But
this site rendered with a previous version. I pretty much ruined this dev
project today trying to figure it out. I don't know why this worked on the
older version but not this version.
> On Sep 11, 2014, at 9:38 AM,
K. Another option would be to render all the forms in GET and then use Ajax
and 3 different views to process POST requests from those forms.
Or you can add different values to each of the form's submit button and
check which form form is being submitted by that value. That's if you want
to use the
Thanks. I saw it, but thought that there would be a better way to do this.
because this was asked 2 years ago. I'll give it a tree.
What do you think about splitting models that depend on each another into
separate apps? Is that the right thing to do?
W dniu środa, 10 września 2014 15:37:15 UTC+
Hi Franco, Faridul, Stodge,
There are actually quite a few problems being asked. I've split them up into
discrete questions.
1. Can a single view function print three forms in a template?
Yes.
WARNING: I am coding all of this off the top of my head. The code is likely
riddled with typos and e
Thanks very much for the help! Those look exactly like what im looking for
:) I will start on them once im back at work tomorrow.
On Thu, Sep 11, 2014 at 3:39 PM, François Schiettecatte <
fschietteca...@gmail.com> wrote:
> You have three ways you can do this:
>
> - In the browser with Javascript
When running those commands:
$ django-admin.py makemessages --all
$ django-admin.py compilemessages
A "l" folder is generated (/var/django/jnj/jnj/locale/l/LC_MESSAGES) - what
does that l folder contain? The base locale from which everything is
translated?
--
You received this message because
Also check out django-tables2, which includes the sorting magic you are
looking for. It uses the third option that François outlined below.
http://django-tables2.readthedocs.org/en/latest/
-James
On Thursday, September 11, 2014, François Schiettecatte <
fschietteca...@gmail.com> wrote:
> You ha
What happens if you go directly to the url of one of your static files?
Also, please don't post your SECRET_KEY.
--
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
Here is an example of a template that use to work.
{% load static %}
Launch with Code
Hello, world!
This is a template for a simple marketing or informational
website
Ahmed,
For connecting Django to MySQL, I use MySQL-python, installed
via pip as:
pip install MySQL-python
My settings file contains:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME' : 'name of our database',
'USER' : 'username
I just sent my settings, but as you can see I have debug turned on and
django.contrib.staticfiles in the installed apps.
Someone please help me, I can't do any development like this.
On Thu, Sep 11, 2014 at 9:29 AM, Michael Martin
wrote:
> """
> Django settings for lwc project.
>
> For more in
"""
Django settings for lwc project.
For more information on this file, see
https://docs.djangoproject.com/en/dev/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/dev/ref/settings/
"""
# Build paths inside the project like this: os.path.join(
Yes, it does sound like a bug. Can you reproduce it with a minimal project?
--
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
try checking os.listdir(settings.BASE_SFTP_DIRECTORY) to see if python can
actually see your files.
--
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
and do you have the "staticfiles" app in your INSTALLED_APPS?
--
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
Do you have DEBUG = True?
--
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-
>
> This may not be the cleanest, but it works:
>
First make a decorator, like this:
import django.db
from functools import wraps
def close_dbconn(func):
@wraps(func)
def close_dbconn_func(*args, **kwargs):
func(*args,**kwargs)
django.db.close_old_connections()
return close_dbconn_func
Then a
Hello,
I have installed Debian 7, Jython 2.7b3 and Django 1.7. After installing
everything, I ran jython manage.py runserver. If I have css files and js
files referenced in the html, the pages don't render. But the pages use to
render in the older version of Django. Does anyone have any ide
Hi im from Argentina im in the same situation, do u find a answer? can u
shared it with me?
On Thursday, October 24, 2013 3:56:29 PM UTC-3, Faridul Islam wrote:
>
> Hello Stodge,
>
> I was searching for an example of mutli-tab pages within a single view
> using Django and found your post which
Hello. I have a standalone script that is long-running (i.e is supposed to
run in a loop forever). This script uses the Django ORM for work on a
database. For example, every two seconds it does a MyModel.objects.all().
Works awesome, but after a while I get
OperationalError: FATAL: remainin
You have three ways you can do this:
- In the browser with Javascript, with all the data stored in the page (as a
javascript array).
- In the browser with Javascript and a REST call to Django to get the data (in
JSON for example).
- With a url that reloads the page with different parameters to
Hi,
I have been trying to launch my Django Model using a tutorial. but
unfortunately the tutorial is about Django 1.1.
Kindly guide me that what configuration (in setting.py) will be required if
I use Python27 / Django 1.5.1 with Mysql.
please also guide towards the appropriate "MySql Adopto
Sorry i forgot to mention the filtering/sorting should be done in the view
so the user can simply click on a button and sort by date, category etc
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
Sorry i forgot to mention the filtering should be done while viewing the
template so the user can simple choose sort by date, category etc on the
fly.
On Thursday, 11 September 2014 15:29:21 UTC+2, Gregory Strydom wrote:
>
> Hey all.
>
> I am just curious, is there any to do Excel style filterin
Hey all.
I am just curious, is there any to do Excel style filtering in Django? Eg:
Sort by date , category etc
The closest thing i have seen which resembles something like that is
dictsort() or regroup(), but i have no idea how that would work for what i
want. The only other option i could th
Thanks very much bro
can we meet online my skype
ngangsi.richard
On Thursday, September 11, 2014 1:21:06 PM UTC+1, Kevin Ndung'u wrote:
>
> Yes, you can. You can develop locally then when the time comes to deploy
> it then add it to Github and subsequently to Heroku.
>
> I personally prefer th
There is really no difference when you add it to Github or Heroku, in my
opinion. Achieves the same result in the end.
On Thursday, September 11, 2014 11:42:12 AM UTC+3, ngangsia akumbo wrote:
>
> or should i create my app locally add it on git hub and clone it on heroku
> if that is a better pro
Yes, you can. You can develop locally then when the time comes to deploy it
then add it to Github and subsequently to Heroku.
I personally prefer this since you get to focus on the app first and deploy
later.
On Thursday, September 11, 2014 11:29:39 AM UTC+3, ngangsia akumbo wrote:
>
> i have a
or should i create my app locally add it on git hub and clone it on heroku
if that is a better process please can some one guide me through?
On Thursday, September 11, 2014 9:29:39 AM UTC+1, ngangsia akumbo wrote:
>
> i have a problem
> can i create a complete django application on my machine befo
i have a problem
can i create a complete django application on my machine before deplying it
to heroku
that is i start by creating the django app on my local linux machine before
trying to deploy it online
i a confused here a bit pleas i need some help
--
You received this message because you
33 matches
Mail list logo