The best way to get help is to paste the errors into a gist
(https://gist.github.com) or similar service and post the link. Redact
anything that looks like a key or password :-).
Brian Schott
bfsch...@gmail.com
On Dec 12, 2013, at 6:24 AM, kodali srinath chowdary
wrote:
> while deal
try:
except:
it worked
thank you!!
On Saturday, September 20, 2008 9:14:42 PM UTC-4, Paddy Joy wrote:
>
> The error message is telling you that the user has no profile
> (Specifically there is no record in the table schedule.profile related
> to the user).
>
> Your app needs to take care of c
.
There is a good book called "Two Scoops of Django", which recommends avoiding
premature database optimization. Unless you've identified this is the long pole
in your tent, you are probably better off focusing on other optimizations such
as installing memcached.
Brian Schott
bfs
Django-allauthhttps://github.com/pennersr/django-allauth
—
Sent from Mailbox
On Thu, May 15, 2014 at 7:58 AM, Frankline wrote:
> Hi all,
> I am thinking of developing a web application where users will have to
> login by their email address instead of using their usernames.
> Now I know I can do
Try swapping class order.
Sent from my iPhone
> On Jun 15, 2016, at 6:55 PM, Lee Hinde wrote:
>
> Using Django 1.9.7.
> I have the following class:
> class AddView(LoginRequiredMixin, CreateView):
> template_name = "entry.html"
> model = Property
> form_class = AddPropertyForm
>
Hi Priyesh,
Do you know what volume of files you expect to serve? The answer to this
question will be different depending on where the files are hosted. If you
expect a low volume of downloads, it might be easiest to just host the
files on dropbox or even served from your own db. If you expe
Welcome to Django!
Getting a web site to work can be very hard. Even if you know django, there
are many other services you need, too: a database, testing, a webserver,
etc. This tutorial is one of the best I have
seen: http://www.marinamele.com/taskbuster-django-tutorial
On Friday, December 2
Im looking for a Django reporting library something similar to Django
report builder ?
--
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...
What if you convert the html to an array of bytes before storing?
Then you’d convert from bytes array back to string when you retrieve. This way
you’d store raw data.
> On Apr 21, 2019, at 8:41 AM, Jani Tiainen wrote:
>
> Well after all, HTML is just plain text... Though you probably want to
I am aware that I can specify any model's primary key by adding that kwarg
to a field within the model. I currently do this with most my models, using
UUIDField as the primary key:
class MyModel(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4,
editable=False)
#
*Context: *
I have a booking app that is managed over the phone by an admin.
the callers/client's details are stored in a Client model and then related
to a Booking model when a booking is made.
*Problem*:
I want the client to have access to edit their booking without having to be
a user in th
Context:
I have a booking system which is in a call centre.
Clients call in and give their details (name address phone email)
these details are stored in a Client Model
When they make a booking over the phone it is associated to the entry in
the Booking Model.
Problem:
I'd like to add a form on
https://stackoverflow.com/questions/2396238/memory-error-due-to-the-huge-input-file-size
Just iterate the file do whatever operations you want on the file.
https://towardsdatascience.com/python-basics-iteration-and-looping-6ca63b30835c
On Monday, July 1, 2019 at 11:07:39 AM UTC+1, Nibil Ashraf wr
in a PostgreSQL database?
Thanks,
Brian
--
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 gr
s the print out (Standard PostgreSQL escape format):
E\xa343c5ea
E\x52577ade
Any help would be appreciated.
Thanks,
Brian
On Wednesday, February 22, 2017 at 2:19:14 PM UTC-5, ludovic coues wrote:
>
> Can't you use django's BinaryField ?
>
> 2017-02-22 20:09 GMT+01:00 Shawn
The database is pre-existing and I'm creating a Django web interface for
it. This object holds the 8-digit hex output of the unique mfr identifier
of the MiFare rfids. There are remote terminals that interact with database
through psycopg2 and have no issue with that field.
I could change the
Hello,
I would like to be able to create a Django Channels group such that:
1. Websockets can can subscribe and unsubscribe (or disappear) to group
that the client specifies.
2. When the first client subscribes to a group, it starts some process
(e.g. via celery task) that feeds thi
On Friday, 2 June 2017 13:04:48 UTC+10, Andrew Godwin wrote:
>
> You can't do what you ask with the current Groups system - it is
> deliberately very simple as anything more complex involves picking scaling
> tradeoffs that are particular to the thing it's powering. You'll have to
> layer some o
On Friday, 2 June 2017 14:08:40 UTC+10, Andrew Godwin wrote:
>
> I don't have any direct examples to hand - and this sort of thing does
> come all the time, but much like Django is not in the business of including
> a full CMS, Channels can't add lots of high-level features without really
> narr
I am trying to run a query that uses an expression wrapper. Within this
wrapper I'm calling the math.atan function, and within that function I'm
calling an F() expression. The F() expression is getting data with a
DecimalField datatype. I'm getting an error stating that "a float is
required". T
On further investigation and thoughts, I think I may need to replace
math.atan with some kind of django query expression function that will
allow the arc-tangent to be calculated within a query expression. Does one
already exist?
--
You received this message because you are subscribed to the G
Nevermind, I figured it out. Instead of math.arctan, I used Func() with
function='ATAN'.
--
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..
I have a quick question about handling email updates using Django. My
organization uses a Google Group to send mass emails to those added to the
email list, and I was looking to add a 'sign up' widget to the footer of
the website (It's a non-buisness Google Group). Is it possible to utilize
Goo
I'm still using the workaround I mentioned above
--
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 view this discussi
I'm investigating using staticfiles ManifestStaticFilesStorage. Unless I'm
missing something, there seems to be a hole with Django forms Media class.
If you use an inner Media class you do not get the hashed versions of the
assets filenames.
This leads me to believe you can't use the Forms Med
Thank you Denis. I will keep my eye on this ticket:
https://code.djangoproject.com/ticket/21221
Best,
BN
On Monday, December 7, 2015 at 12:42:23 AM UTC-6, Denis Cornehl wrote:
>
> Hi Brian,
>
> a sidenote, this will be fixed:
> https://github.com/django/django/pull/5571
Dude. Try django gigs.com or freelance.com
Sent from my iPhone
> On Mar 7, 2016, at 11:11 AM, Bob Gailer wrote:
>
>
> On Mar 7, 2016 10:51 AM, "Gregg Turner" wrote:
> >
> > Hey,
> >
> > Need a simple python script put into a website. It uses the requests module.
> >
> > $20? Any takers?
>
You can override them check out this page in the docs
https://docs.djangoproject.com/en/2.1/ref/contrib/admin/
Sent from my iPhone
> On Nov 12, 2018, at 9:14 PM, Phako Perez <13.phak...@gmail.com> wrote:
>
> If I remember correctly you can define your own templates under the template
> directo
It would be good to have a goal. What do you want to do? Website? Applications?
Data Science? Machine Learning? The answer really depends on your purpose.
Get BlueMail for Android
On Aug 31, 2023, 21:34, at 21:34, KHUSH DESAI wrote:
>hey guys , I am a new to doing all of this as i just start
Hello everyone.
I have scheduled tasks that get executed with Celery. On development, the
scheduled tasks are executed only once. But in production, they're executed
redundantly. I have my django application deployed on a private server.
I've tried to examine what could be the cause of this behavio
Also add me +254715790096
On Thu, Dec 7, 2023 at 11:51 AM Abdulrahman Abbas
wrote:
> I'm interested add me up 09020387775
>
> On Thu, Nov 23, 2023, 19:13 Youssef Bachraoui
> wrote:
>
>> Hi developer i search to make a group on WhatsApp to begin a project
>> together anyone interested about that
Hello,
I'm interested
On Mon, Feb 12, 2024 at 10:18 AM Amen Guda wrote:
> Hey I’m interested add me thank you add me 0944365493
>
> On Sun, Feb 11, 2024 at 11:38 PM Jorge Bueno
> wrote:
>
>> Thank you for your interest in contributing! Yes, you can fork my
>> repository and then make the necess
WhatsApp +254721897768
On Mon, Mar 18, 2024, 20:25 1001_prabhjot Singh
wrote:
> so i am working on a full stack e-comm website and this project is really
> very big for me because it's a live project am using django for backend
> interested one's can send there number for WhatsApp group
>
> --
>
On Tue, Sep 10, 2019, 5:30 AM Carlton Gibson
wrote:
> We've made the first release on the way to Django's next major
> release, Django 3.0!
>
> With about two and a half months until the
> final release (scheduled for December 2nd), we'll need timely testing
> from the community to ensure an on-t
I have a model which essentially boils down to this:
class Person(models.Model):
name = models.TextField()
class MarriedMan(Person):
wife = models.OneToOneField(Person, on_delete=models.CASCADE,
related_name='husband')
But when I try to make the migratio
I have a model which in essence boils down to this:
class Person(models.Model):
name = models.TextField()
class MarriedMan(Person):
wife = models.OneToOneField(Person, on_delete=models.CASCADE,
related_name='husband')
But when I try to generate the migra
SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
ROOT_URLCONF = 'cms.urls'
TEMPLATE_DIRS = ('/Users/jonesy/django/cms/templates',
# Put strings here, like "/home/html/django_templates" or "C:/www/
django/templates".
# Always
y" <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 7, 2008 at 9:07 AM, Brian K. Jones <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > This scenario has been brought up before, but I'm having a problem
> > that hasn't yet been reported. I was unable to reply to t
urces/djangovalidator/), but lighter weight.
Requires python 2.4 (for the subprocess module).
Requires the offline "validate" utility for HTML validation from
HTMLHelp.com, or its equivalent.
Available here: http://bstpierre.org/Projects/HtmlValidatorMiddleware/
Comments & questions
On Jun 25, 7:30 pm, Francis Lavoie <[EMAIL PROTECTED]> wrote:
> OperationalError: unable to open database file
An addition to the page that Ramiro pointed to: the webserver user
needs (at least) execute permission (d--x--x--x) on every directory
below the one that holds the database file. Otherwi
e
same.
Here's the diff. I'd be glad to continue working on it (error
checking, documenting, and more input types) if anyone thinks it might
be useful.
http://dpaste.com/41475/
Thanks,
Brian Armstrong
--~--~-~--~~~---~--~~
You received this message
Yes, certainly!
You can run Django apps under apache using mod_wsgi. There’s an example
configuration here:
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/
Best
Brian
—
Best Regards,
Brian Maher
On 15 Aug 2019, at 09:17, gopi p
mailto:gopi.s...@gmail.com>> wrot
—
Best Regards,
Brian Maher
Senior Research Software Engineer & Systems Administrator
King’s Digital Lab
VWB, 2nd Floor, Room 2.50, Strand Campus
Work: 0207 848 0511
Mobile: 07714 285086
Voip: 01702 667471
On 23 Oct 2019, at 15:10, Nelson Varela
mailto:nelson.c.var...@gmail.com>> wrote:
I maintain one project which does this with a save hook on the User model,
setting the username to the email address field (with uniqueness tests, of
course).
It’s crude, but seems to work well and hasn’t given any problems.
—
Best Regards,
Brian Maher
Senior Research Software Engineer
901 - 944 of 944 matches
Mail list logo