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
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
Can you please guide me to some tutorial
> to get this thing started.
>
> Thanks in advance.
>
> Regards,
> Jaiswal
>
> On Sunday, May 27, 2018 at 2:34:05 PM UTC+5:30, Roger Gammans wrote:
> > I think there is a little bit of confusion in this thread,a s we
> >
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
but the issue is with
> the performance the django query set or the query which i am making.
>
>
> Thanks & Regards,karthik
>
> On Sunday, July 19, 2020 at 7:01:28 AM UTC-4, Roger Gammans wrote:
> > Hi
> >
> > Just a side issue I spotted here,
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
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
SETTINGS_MODULE ).
HTH,
--
Roger
On Tue, 2018-12-18 at 12:07 -0500, Larry Martell wrote:
> Thanks. I ran that command, and I checked the settings and CGi is
> installed and enabled. I have the CGI icon in the IIS config page,
> but
> I do not have the FAST-CGI which is what all the doc
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:
43 matches
Mail list logo