You might want to consider using a jQuery plugin like appendGrid
(http://appendgrid.apphb.com/); and then writing the necessary logic for
the view that allows you to construct the grid and then process data from
it
(http://stackoverflow.com/questions/3670206/django-with-jquery-basic-help
provi
sorry,my english is not good
my urls.py is
from django.conf.urls import include, url, patterns
from django.contrib import admin
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
]
urlpatterns += patterns('bullet.views.noticeview',
(r'^$', 'notice'),
(r'^board', 'board'),
)
and this
I have a custom Django template tag which creates HTML.
This HTML needs some JS and CSS.
How can I extend the media list with my custom template tag?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and s
Hello,
sorry for the question that might sound silly , but I need help because i'm
newbie .
I have 2 tables User ( Name , Surname , BadgeNR ) and Badge (No. , date
Activation , Due Date , Available ) .
I use a form to add and update the data of a user, but I need , also, to set to
0 the Avail
Hello,
sorry for the question that might sound silly , but I need help because I'm
newbie .
I have 2 tables User ( Name , Surname , BadgeNR ) and Badge (No. , date
Activation , Due Date , Available ) .
I use a form to add and arises to change the data of a user,
but I need to set to 0 the Ava
Hi @ all,
I'm looking for a way how to get the amazing function *"filter_horizontal"*
which i use in django's admin site available in my bootstrap3 form.
I've searched some days, but i cant find no way to get it working..
So please could one of you help me!
#models.py
Class TestModel(models.Mo
Hello everyone,
We are about to start this project this week and I really need someones
help to start it better.
We are building an e-commerce web application using Django and mongodb and
we have couple of questions to start with.
1. Can I use django.contrib.auth.user etc or or any mongo p
I have a custom management command which calls a method in another class,
which fetches lots of data from a third-party API. Fetching the data could
take a few seconds or it could take over an hour, depending on the quantity.
I'd like to display progress on the command line, so the user knows the
hello,
I generate in views different link. the value of link is a variable provide
by search fonction.
this value change with search result.
so when I click to my link I wish my link value pass in argument for the
new view.
I have test this kind of structure {{ myarg}}
with urls like : url(r'
Look like you aren't using the static tag for image and javascript url.
2016-05-06 19:20 GMT+02:00 Yakir Gabay :
> Hello I'm very new to Django and very confused
> I have basic familiarity with HTML.
> Hosted a website on my localhost, the CSS loads like I wanted however the
> images refuse to loa
If you hare a beginner, you should definitely take a good look at the
django tutorial. It's full of details you need to know to be effective
with django like ForeignKeyField, which let you write
user.Badge.Available = 0
2016-05-09 10:34 GMT+02:00 Biase D'Agostino :
> Hello,
> sorry for the questio
now,i try to install apache on ubuntu
and run the same code
it can return correctly
but nginx still return 404 not found
--
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 em
Please provide the specific error message you are seeing
On Monday, May 9, 2016 at 8:05:20 AM UTC-5, quentin ladrier wrote:
>
> hello,
>
> I generate in views different link. the value of link is a variable
> provide by search fonction.
> this value change with search result.
> so when I click to
On May 9, 2016 10:06, "minom du" wrote:
>
> sorry,my english is not good
> my urls.py is
> from django.conf.urls import include, url, patterns
> from django.contrib import admin
>
> urlpatterns = [
> url(r'^admin/', include(admin.site.urls)),
> ]
>
> urlpatterns += patterns('bullet.views.notic
Hi,
Just in case it is useful to anyone, here is the solution,
>
> pModel = PostModel.objects.raw('SELECT *, max(pub_date), count(topicid_id)
> AS freq FROM crudapp_postmodel GROUP BY topicid_id ORDER BY pub_date DESC
> LIMIT 0,20')
Thanks
On Tuesday, 3 May 2016 18:43:53 UTC+1, ofeyofey wrote
This also grabs the frequency or number of views per post.
On Tuesday, 3 May 2016 18:43:53 UTC+1, ofeyofey wrote:
>
> I have two tables in a sqlite3 DB, PostModel and TopicModel. The PostModel
> has fields id, post, author, pub_date and topicid. This last fields topicid
> has a foreignkey to the
> Den 9. maj 2016 kl. 14.23 skrev Phil Gyford :
>
> I have a custom management command which calls a method in another class,
> which fetches lots of data from a third-party API. Fetching the data could
> take a few seconds or it could take over an hour, depending on the quantity.
>
> [...]
>
> thanks ,but it not fix the problem
>
i write same as your code first
but return 404 not found
so i try other code
--
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 ema
i use apache then it work
so i guess maybe my nginx setting wrong somewhere
below is my nginx+uwsgi setting
uwsgi.ini
[uwsgi]
vhost = true
project=school
base = /home/minom/project
plugins =http, python3
socket = /tmp/school.sock
master = true
enable-threads = true
processes = 4
wsgi-file =/home/m
>
>
> when i run localhost:82 it will run notice and goto index.html
> but when i run localhost:82/board
> it will return 404 not found
>
>
You need to determine whether Django or Nginx is responding with the 404
error.
Do you have DEBUG = True in your settings.py?
What does the 404 error page lo
20 matches
Mail list logo