I want to create a html table containing taking from database , this
table should be sortable and searchable..
How do i do that??
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups
I'm seeing the same symptoms. The rate is much lower than 1 in 5 -
maybe 1 in 100 - but definitely the same error. Were you guys able to
make any progress on a solution?
On Aug 4, 1:17 am, hcarvalhoalves wrote:
> Now that someone else mentioned, yes, I believe we have the same
> problem.
>
> I
tried putting # -*- coding: iso-8859-1 -*- at the start of the
modules concerned but no success.
I would be most grateful for any help with this..
Roger
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&
Hi,
As a newbie I have been working through the Django Tutorial. I must say
it is very well written, even so I have hit a wall...
I have activated the admin site, and created a superuser and can log in
as the superuser.
What I have sofar failed to do is to add the demo site (polls) to the
admin
aqw.py?query=2.24&querytype=simple&casefold=yes&req=search
I ran into this problem as well, upgrading to the most recent MySQLdb
seems to have done the trick.
Roger
On Aug 16, 12:34 pm, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
> Hi guys!
>
> First of all, tha
> Hey everyone,
>
> This is not at all Django related but I know there are a lot of people
> in this list that are smart fellas, so is this real or another one of
> Google's April fools jokes:
>
> http://www.google.com/help/netneutrality_letter.html
Just to worry you further, you might want to ta
hi, i just saw this documents, maybe it can help you.
from django.conf.settings import
the full url:
http://www.djangoproject.com/documentation/settings/
On 6/14/06, plungerman <[EMAIL PROTECTED]> wrote:
>
>
> limodou wrote:
> > On 6/14/06, ChrisW <[EMAIL PROTECTED]> wrote:
> > >
> > > Let me r
hi, everybody.
I don't like the django templates, can i use kid ?
if can, how can i do then?
thanks.
--
welcome: http://www.webwork.cn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Hi, Simon,
Thanks for your help. ~_~.
Best regards,
roger
On 6/14/06, Simon Willison <[EMAIL PROTECTED]> wrote:
>
>
> On 14 Jun 2006, at 12:52, Roger Sun wrote:
>
> > I don't like the django templates, can i use kid ?
> > if can, how can i do then?
Just like ruby's
http://api.rubyonrails.org/
currently, i don't know where can i refer to these api,
i hope the author can do this for us. ^_^
roger
--
welcome: http://www.webwork.cn
--~--~-~--~~~---~--~~
You received this message because you are sub
exciting news,
thanks , Jeroen and Steven.
On 6/15/06, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
>
> On 6/15/06, Steven Armstrong <[EMAIL PROTECTED]> wrote:
> > [1] http://djangoapi.quamquam.org/trunk/
>
> Ah cute. Now that might be useful to also have on the main site.
> Adrian?
when i open localhost it keeps loading without showing the
> > results
>
>
You might find mkcert ( https://github.com/FiloSottile/mkcert ), and
easier and potentially safer way to create and managetemporary
developer certs.
obDNA: Certainly better than all that tedious mucking around wit
Hi
If any arbitrary text is allowable, then at the model level I'd just
use a CharField. I wouldn't add a choices= argument to the
field unless is the value is strictly constrained to those choice as
other test would then fail validation.
At the Form level, I'm not sure. I'd probably work just mi
Hi
I've used mailjet in a Django app.
Both using the rest API with requests, ( for our transactional mails )and via
authenticated SMTP for our error alerts.
I don't recall any specific challenges on the Django side , although setting up
domain vaith was a bit more involved iirc.
Are you havin
@Tejas or @Sebs, do you still have a question how to do this? I think I
figured it out
On Tuesday, December 6, 2022 at 7:25:08 PM UTC-5 sebs...@gmail.com wrote:
> Hey *Ben*, please help with the repo for the same code. I'm getting same
> error
> here.
>
> On Saturday, 7 May 2022 at 22:37:32 UT
the following traceback error:
File
"/home/roger/projects/playground/feincms_env/lib/python2.6/site-packages/django/core/handlers/base.py",
line 39, in load_middleware
for middleware_path in settings.MIDDLEWARE_CLASSES:
File
"/home/roger/projects/playground/feincms_env/
of what is needed for other
travelers on this road.
thanks,
Roger Marcus
On Oct 25, 11:16 am, Reikje wrote:
> On a side note, I can recommend this
> book:http://www.packtpub.com/django-1-1-testing-and-debugging/book
> They have an entire chapter for running Django on Apache.
Is there something that the Django documentation itself is lacking?
https://docs.djangoproject.com/en/dev/topics/install/#installing-official-release
On Wednesday, 26 June 2013 16:56:49 UTC+10, Sayth Renshaw wrote:
>
> So I turned to the django book online, but have a lack of faith here as
> the
eant I had
to use django-admin.py, so if the above doesn't work, this might:
def manage(*args):
return _ve_run("django-admin.py " + ' '.join(args) + " --pythonpath .
--settings %s%s" % (env.settings,))
Hope that helps,
- Roger
On Monday, 1 July 2013
I'm spinning up a new project and nearly all of the data I need to store
can be normalized. Along with this normalized data is one piece that is
better suited to a nosql database.
The use case is that the normalized data will be fetched often, is very
tabular in nature, and the additional data
I have a limited progamming background (C++ in school 10+ years ago) and am
needing to setup an API framework to take HTTP callbacks from landing pages
(e.g. Unbounce). Given my following requirements and conditions, is Django
what I want to use and where is the best place to start?
- forms
I think there is a little bit of confusion in this thread,a s we keep
talk about django and the deamon process and ignoring the frontend.
So to clarify; there we are talking about a system with at least 3
execution environments:
1 The Browser2 Django backend processes3 The backend daemon/cli
-proce
ng together. This is probably the most advanced solution though.
I'm sorry this is not a lot more help, it is all up to understanding
what your comfortable with *exactly* what you want to achieve from
here.
On Sun, 2018-05-27 at 02:22 -0700, Sourabh Jaiswal wrote:
> Hi Roger,
> Thanks f
nvironment.
--
Roger Gammans
Gamma Science
On Tue, 2019-01-15 at 18:49 +0200, Yuval Bachrach wrote:
> I did not configure anything, which is probably the problem..I am
> following the tutorial. I just did what the tutorial instructed to
> do: So I have installed docker as instructed but
to need to
invest in understanding the ORMs internals.
HTH,
--
Roger Gammans
Gamma Science
On Mon, 2019-02-18 at 08:26 +, 'Ellinghaus, Lance J' via Django
users wrote:
>
> ONCONFIDENTIAL // EXTERNAL
> So, basically, Django will not be supporting Composite Pri
itialised your instance from the database (or set a won value when
creating the object).
If you expected to have a default value you need to set one where you
set up self.won see
: https://docs.djangoproject.com/en/2.2/ref/models/fields/#default
HTH,
--
Roger Gammans
--
You received this me
Did you run 'python manage.py migrate' ?
Did it come back with any errors?
I ask because specifying price field for values up to 10^9998 strikes
me as extreme an likely to causes problems; perhaps you meant
max_digits=7 not 1 .
On Mon, 2019-04-08 at 04:26 -0700, fazal rehman wrote:
> Hell
On Thu, 2019-05-23 at 22:17 -0700, Daniel Butler wrote:
> It looks like I found my key I had to install the application module
> CGI then use this library to get everything to work!
> https://pypi.org/project/wfastcgi/
Does that support websockets?
IIS itself seems to ( https://docs.microsoft.c
d.
There is also briefcase:
https://beeware.org/project/projects/tools/briefcase/
I've not used it ; so this isn't a recommendation; just a head up that
it exists; but does it seems to have explicit django support, if that's
important
--
Roger Gammans
Gamma Science Ltd. (GB Nr.
ody got any thoughts?
--
Roger Gammans
--
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 gro
es
> like this, but that's not something that's ready in the short term.
>
> Andrew
> On Fri, Sep 1, 2017 at 3:56 AM, Roger Gammans co.uk> wrote:
> > Hi all,
> >
> >
> >
> > I'm trying to build a system with a Django frontend which
One architecture you could consider, is to put all the sensor values into
redis or similar. Have a worker to out the values into redis from the
automation source.
Then use each websocket recieve event to add the reply channel to the group
which gets the appropriate sensor value.
You will probably
Hi,
I'd certainly be interested in helping with such a project; as I
current have two angular.io/Django projects here.
We've been concentrated more on the such thinks and enhance runserve;
to also spawn 'ng build' in another process so the developer experience
was smooth.
ng.io components for dj
Don't you just have to send a message to an appropriate group which
contains just that users/sessions connections/consumers and in the
message handler on the consumer call 'self.close()' and remove the
consumer from any subscriptions.
If I understand the docs, in the disconnect method is still ca
oup"?
>
> I thought there's a way to decode JWT, get user ID from it and then
> somehow:
>
> channels = get_channel_layer():
> for ws in channels.get_connections_for_user(user_id):
> ws.close()
>
> but i couldn't find a way
> On Monday, 6 April 2020
or any random view which knows nothing
> about clients-communicatiors. only about a user, whose connections
> must be closed.
>
> maybe, you're right, and i'm thinking about it the wrong way
>
> On Monday, 6 April 2020 15:28:44 UTC+4, Roger Gammans wrote:
> > I thin
Hi,
that looks like it's your s3 bucket setup. s3 is not supporting the
CORS (cross-origin -request-security) check requests the browser is
making.
I googled "s3 bucket cors" and found this which looks like in contains
the answers you are looking for.
https://docs.aws.amazon.com/AmazonS3/latest/de
there are quite a few
js visualisation tools (often based on d3), restricting myself to just
the open source ones, I can find/know about nvd3js, dygraphs,
chart.js, n3-charts, c3 and more.
There are many alternatives and it can definitely be done a) open
source, and b) without uploading the data to
Hi
Move Wagtail and and Django-CMS are applications you install in your
INSTALLED_APPS setting settings.py to add CMS functionality to a
Django project, so you can use these applications as you only app
in django projects, or alongside your own custom apps, or other
downloaded apps.
Django cms
In allow_migrate () where you have 'return False', I've ended up (in my
otherwise very similar router) with:
return db != 'mydb'
You certainly don't want return False as that will disable all
migrations outside of your app_label, you want to return True,only in
the cases when the db is not
or
view column in any nonaggregate expression in the
list must be included in the GROUP BY list" (quote from MS
TSQL docs which was just the first hit my google search found) . And
the name and create_at columns are missing in the GROUP BY clause in
the quoted SQL statement.
It seems unl
Thank you for that fascinating excursion.
On Sun, 2020-07-19 at 07:48 -0700, karthik challa wrote:
> Hi Roger,
>
> I have fetched this query from the Django Debug tool bar. I am using
> POSTGRES database and Django 2.2.3 version.
>
> I am able to fetch the records which i require
Hi
Thanks that looks useful.
On my rather long TODO list is to turn use this (
https://github.com/josdejong/jsoneditor) npm package to build a less
restrictive json widget...
On Mon, 2020-08-17 at 14:42 -0700, Federico Capoano wrote:
> Since I wasn't able to find a package which had this kind of wi
On 1.8 `--fake-initial` only works if you have a single initial migration
per app. We don't because we have additional migrations to load data and
create database triggers, etc.
In 1.9 this will be handled by the `initial = True` setting on the
Migration class.
Until then, we are using:
./ma
I've inherited a moderately large project written 2 years ago using Django
1.4, and wondering if it is worth creating a fresh 1.9 project and porting
in the old code, or doing an in-place upgrade to 1.9?
I have it running on 1.4 'as is' but if I run* python manage.py migrate* it
comes unglued a
Umar,
IIRC - (and it's been a while since I used windows) - Windows maintains
a global flag for internet connectivity.
Unfortunately if windows decides it's not connected , bad many apps
such as Internet Explorer, Edge etc, refuse to attempt to make any TCP
connections even if they are to localho
YVWO5bFTx
> > %3D6im_dLWwPWz1FoDcFVDN9GXREj%3Dp49f2FcA%40mail.gmail.com?utm_mediu
> > m=email&utm_source=footer>.
> >
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> >
Hi,
I was looking at this back in November.
the FastCGI Settings.
>
> Anyone know what I may be doing wrong or how to proceed?
>
>
> On Tue, Dec 18, 2018 at 4:35 AM Roger Gammans
> wrote:
> > Hi,
> > I was looking at this back in November., although I'm not a
> > Powershell or Windows expert I start t
On 18 December 2018 17:28:41 GMT, Larry Martell wrote:
>Get-WindowsFeature shows that web-cgi is installed but not iis-cgi.
>Are these the same?
>
Maybe. I think they Microsoft renamed on to the other. My script was for the
most recent iteration of windows server.
--
Sent from my Android devic
;C:\python36\python.exe" in my case. )
Which is the command line version of point 2 above.
IIS also a has a tendency to read a web.config XML in the IIS site
root; from which I think a lot of this can be set from. You can
certainly set environment variable there (such as PYTHONPATH , or
DJANGO_
This is really a JavaScript question not a Django one.
But since I can see the problem... ,
The issue is 'dissmal-info' isn't a valid Js identifier, the browser is trying
to subtract the nonexistent 'info' variable from the 'dismissal' value. You
should be able to use ['dismissal-info'] instea
Plotly comes to mind. there are quite a few charting libraries in this
python/web space. Google is as always your friend.
But at the end of the day the best UX is always going to come from a
library with a significant JS component. If you don't want to worry to
much about JS plotly's py component
Hi All,
Let shed some actually light on the whole problem, before people start
piling in.
This is mostly (form the Django perspective) and issue with CharFields,
because a CharField can store None or ''. For values of ''
in CharField, IIRC, django will convert them to null, with null=True,
blank=
I should have said SQL specifies NULL compares Non-equal, the ORM
converts None's in python to NULL in SQL for you, as well as all the
other things it does
On Wed, 2021-04-07 at 15:25 +0100, Roger Gammans wrote:
> Hi All,
> Let shed some actually light on the whole problem, before peo
On Thu, 2021-04-08 at 16:36 -0500, Ryan Nowakowski wrote:
> On Wed, Apr 07, 2021 at 03:25:53PM +0100, Roger Gammans wrote:
> > This is mostly (form the Django perspective) and issue with
> > CharFields,
> > because a CharField can store None or ''. For values of
Hi
My french isn't great, and this list mostly uses English, so you'll
probably get a better response if you can post in English even if you
resort to google translate (like I have below ) but I think the intent
of your email was clear.
Your error was "view stocksystema.views.home didn't return an
27;
I'm sure someone here must have had to write unit test which deal with
foreign jets before what approach did you end up taking?
--
Roger Gammans
Gamma Science
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe f
turn fake
thingy_getter = property(getter)
out = m.Foo( title ="")
with
unittest.mock.patch.object(out.__class__,'thing',thingy_getter):
self.assertEqual(out.title,"")
I'm still interested in other possible solutions out there .
--
Can you define what you mean by real-time?
There are many way to achieve this depending on your other needs, for
instance if you need the server (the raspberrypi) to push the data,
it's suddenly not really a beginners task as you have to think about
whether to use websockets , or long polling. (or
Hi ,
Looking at the second problem only (
https://stackoverflow.com/questions/58568561/nonetype-object-has-no-attribute-render-context
) I can't see any thing obviously wrong with the call you show.
django.template.backends.Template.render() ; which you can see called
in your backtrace on SO, s
Hi
The precise details of this depend on your hosting environment, but the
canonical method is request.get_host() ; see
https://docs.djangoproject.com/en/3.0/ref/request-response/#django.http.HttpRequest.get_host
If your hosting environment is non-standard; you might need some custom
middlewar
Use:
for data in Journal.objects.all():
On Fri, 2020-02-14 at 14:13 +0100, Kai Kobschätzki wrote:
> Hi:
>
> I want to do something with the content of a table. Problem is, that
> the
> IDs are not continuous. I tried:
>
> import .models from Journal
>
> last = Journal.obejects.l
No problem,
It 's all explained here :
https://docs.djangoproject.com/en/3.0/ref/models/querysets/
On Fri, 2020-02-14 at 14:27 +0100, Kai Kobschätzki wrote:
> Hi Roger:
>
> Thanks a lot! Such as easy :)
>
> Greetings
>
> bengoshi
>
>
> On 2/14/20 2:
roxy_pass http://app_server;
}
My goal is to get the Django suit working. I do not see anything in my
static files directory for the admin suit so the css can be applied.
I am missing something very simple to get this working.
Thank you for taking time to look at this and wish to get some cl
ic directory. nothing had been copied.
Thank your for taking time to look at this and also sharing with me any
clues on how to fix this.
Roger
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
Should i start using Django 1.8 or 1.9 before configuring the server?
On Thursday, June 2, 2016 at 10:35:20 AM UTC-4, luisza14 wrote:
>
> Where is STATIC_ROOT ?
>
> static_root path needs to match with nginx /static location.
>
>
>
> El miércoles, 1 de junio de 2016, Rog
66 matches
Mail list logo