he question is:
I don't want to it select language in Django Admin Interface, I want to it
always display in English.
te/env/python/lib/python2.7/encodings/utf_8.py",
line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7:
ordinal not in range(128)
>>> unquote('Kroati%C3%AB').decode(
Hi,
We started migrating a java project to Django .Our present code we are
using different filters for security. Mainly we are checking below filters
· Session hijacking check
· XSS attach check
· CSRF check
· Path manipulation check(directory traversal attack)
·
he admin? Or perhaps a clean way of storing a
User.time_zone config property that could be used to localize the admin
cleanly.
Cheers,
Paul
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
I've just had trouble with exactly the same error. In my case I was
building from the tutorial ChatConsumer with my own XChatConsumer and I
hadn't referenced it in the routing.py. As a result the tutorial async chat
consumer was receiving a scope that did not contain a room_name in its
url_rout
I have recently changed my django project (using A2 hosting) from fcgi to
wsgi. I have successfully gotten the project to work, but I am
experiencing a minor caveat I am trying to solve. Now, when I use the {%
url %} tag in the templates to form a link, I get the absolute path of the
server (
I have to create a unique code for each space saved in dbAb db me save
krne k lie, wo multiple part me save ho rha hai, multiple models bhi hai
uske.1st model se mujhe space category ka name uthana hai
2nd se city code
Category alag alg ho skti hai
To code genrate hoga LM-categorycode-citycode-0
t; Teko no wapas 1 se start karneke liye query maarana padenga
>
> last_no = Model.objects.filter(categorycode="blah",
> citycode="blah-blah").count()
>
> unique_code ="LM" + categorycode
> + citycode + str(last_no + 1)
>
>
> Aisa code likkha t
st_no = Model.objects.filter(categorycode="blah",
>> citycode="blah-blah").count()
>>
>> unique_code ="LM" + categorycode
>> + citycode + str(last_no + 1)
>>
>>
>> Aisa code likkha toh result milenga 😋
>>
>>
>>
nko hinglish kaisa samjhenga? 😂
>>>
>>> Teko field pe unique constraint lagana padenga
>>>
>>> Teko no wapas 1 se start karneke liye query maarana padenga
>>>
>>> last_no = Model.objects.filter(categorycode="blah",
>>> citycode=
e, lazy="dynamic"))
space_commercial_products=db.relationship("SpaceCommercialProduct",
backref=db.backref(
"spaces", uselist=True, lazy="dynamic"))
space_document=db.relationship("SpaceDocument", backref=db.backref(
"spaces
I have made my custom user model. The dj_rest_auth returning the response
after successfull login
{ "access_token":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjIzdXJfaWQiOjZ9.4yjIBxXhe5grxCe18huamgj1qP44A-zOkUHxZ61wXao"
, "refresh_token":
"eyJ0eXAiOiJKV1QiLC
You can deploy to Heroku, there's a free tier and it's very low maintenance.
https://devcenter.heroku.com/articles/deploying-python
I've had a free Django app running there that I set up almost 10 years ago
without any work required to keep it up since then.
Heroku is somewhat expensive if you
any review on the Django from you guys
--
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 discussion on the
Hello I'm currently using SimpleJWT in my DRF API can i merge SimpleJWT
with OAuth or any other Auth liberties for Social login
--
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, s
Hi I am also interested in contributing to this project.
GitHub name: paul-kirui
My WhatsApp number :- +254710778763
On Monday 19 February 2024 at 09:50:10 UTC+3 Enamul Majid wrote:
> I'm interested to contribute in the project.
> WhatsApp: +8801917739840 <+880%201917-739840>
&
Hi I am interested in contributing to this project.
My WhatsApp number :- +254710778763
GitHub name :paul-kirui
On Sunday 18 February 2024 at 20:43:17 UTC+3 Jorge Bueno wrote:
> I wrote about the same thing before but I only sent the title XD.
> The project:
>
> I'm working
hello is the position still available?
On Tue, Apr 2, 2024 at 8:19 PM Abhishek J
wrote:
> Dear Developers,
>
> I need to build an android and IOS phone dialer similar to Truecaller.
>
> We are seeking experienced and dedicated candidates who are proficient in
> Django and possess a keen interest
How do we use a model image as a background image for static css
--
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 vi
In whatever way possible use the Django ORM for security purposes and also
efficiency . I won't recommend to use Raw queries if you don't know what
you are doing
On Sun, Jul 14, 2024, 7:34 AM Enock Deghost wrote:
> 🙄
>
> On Sun, 14 Jul 2024, 6:15 am Krishnakant Mane,
> wrote:
>
>> Hello.
>>
>>
t; the pitfalls and the way around them so that's out of the way.
>
> Regards.
>
>
> On 7/14/24 12:32, eric paul wrote:
>
> In whatever way possible use the Django ORM for security purposes and also
> efficiency . I won't recommend to use Raw queries if you don
I was actually thinking of doing the same thing
On Tuesday, September 24, 2019 at 3:10:46 PM UTC-4, Perceval Maturure wrote:
>
>
> Hi awesome django users
> i want to list model records of App1 in a detail view of App2
> any ideas?
> Regards
>
> --
> *Perceval Maturure*
>
> *083 303 9423*
>
--
Let's say you are building a SAAS application system in which every user
will use the database heavily, for example, a hospital management system.
Should you have separate databases for each user? And how do you implement
this in Django?
--
You received this message because you are subscribed
Hope this help you a lot to learn django in depth https://manascode.com/
On Saturday, 1 February 2020 19:12:52 UTC+5:30, Srikanth K wrote:
>
> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Memb
Contact at cont...@manacode.com
On Saturday, 1 February 2020 22:43:29 UTC+5:30, Henry Udoye wrote:
>
> I need the following:
>
> *ENTERPRISE E-COMMERCE APPLICATIONS COMPONENTS OUTLINED OR MENTIONED OR
> LISTED BELOW AND THE ENTERPRISE E-COMMERCE APPLICATIONS COMPONENTS
> INTEGRATOR(S) TO PUT OR
, 10 GB disk, 100 GB bandwidth. They even
provide DNS for free.
--
Scott Paul Robertson
http://spr.mahonri5.net
GnuPG FingerPrint: 09ab 64b5 edc0 903e 93ce edb9 3bcc f8fb dc5d 7601
pgpe8Ygf5683t.pgp
Description: PGP signature
d the BYU Unix Users Group, in Utah, and I'm presenting on April 11th
and 12th, respectively.
--
Scott Paul Robertson
http://spr.mahonri5.net
GnuPG FingerPrint: 09ab 64b5 edc0 903e 93ce edb9 3bcc f8fb dc5d 7601
pgpYWVV7gSTI9.pgp
Description: PGP signature
d a half. I was planning to only hit the high points,
then leave references to other things, and maybe mention briefly why
they should care.
Thanks for the suggestions (this goes to everyone)
--
Scott Paul Robertson
http://spr.mahonri5.net
GnuPG FingerPrint: 09ab 64b5 edc0 903e 93ce edb9 3bcc f8f
OK, I'm a Python/Django newbie (more or less), and I have a problem.
I had these two models (details stripped for clarity:
class School(models.Model):
...
name = models.CharField()
street = models.CharField()
mail = models.CharField()
city = models.CharField()
state = mod
est))
>
> all_personel.html:
>
> {% regroup personel by school as personel_by_school %}
> {% for school_personel in personel_by_school %}
> {{ school_personel.grouper.name }}
> {% for person in school_personel.list %}
> {{person.first_name}} {{person.last_nam
--
Scott Paul Robertson
http://spr.mahonri5.net
GnuPG FingerPrint: 09ab 64b5 edc0 903e 93ce edb9 3bcc f8fb dc5d 7601
signature.asc
Description: Digital signature
lidation_errors expects the type that is returned
from POST, strings. You have to ensure the values in new_data_user are
all strings, since do_html2python is run after get_validation_errors and
that's when the types are set to the expected python types.
It's ugly, but it does work.
Scot
On Thu, Aug 24, 2006 at 08:16:25PM +0200, Sean wrote:
>
> Just stumbled upon this:
> http://www.rossp.org/blog/2006/aug/23/changemanipulators-only-part-model/
>
> Could be of use to some.
>
> Scott Paul Robertson wrote:
> > On Thu, Aug 24, 2006 at 10:4
If you set debug=true, that's show only errors in url, views, and
templates. Have no chance to show your secret key, which you placed in
settings.py file.
On Thu, 27 Oct, 2022, 5:04 am Muhammad Juwaini Abdul Rahman, <
juwa...@gmail.com> wrote:
> People can't see it straight away.
>
> However, let
Pls contact me directly at p...@scom.ca please have an idea
thanks - paul
Paul Kudla SCOM.CA Internet Services Inc.004-1009 Byron Street
South Whitby, Ontario - Canada L1N 4S3Toronto 416.642.7266 Main
1.866.411.7266 Fax 1.888.892.7266
On Apr 24
I'm puzzled with this too. Did anyone manage to find a solution to
resolving spaces in usernames.
Generally a user, these days logs in with their email - that's
predominately how I've setup all my django projects. People don't remember
usernames. It is legacy, facebook connects with emails, so
Hello, i've been playing with Django 1.5.4 for some TDD tutorials,
examples, and tried to also do the tutorial :
https://docs.djangoproject.com/en/1.4/intro/tutorial02/#adding-related-objects
BUT i keep receiving this error, as suggested in the Subject:
> ImproperlyConfigured at /admin/polls/po
Thx Magnum. That made the difference.
On Wednesday, October 23, 2013 4:22:15 PM UTC+3, Lucas Magnum wrote:
>
> Rename the attribute "mode" to *model* in the ChoiceInline.
>
> []'s
>
> Lucas Magnum.
>
>
> 2013/10/23 Adrian Paul Ciobanita >
>
>&g
the tempfile.TemporaryFile class, and totally redundant
when streaming from memory.
--
Paul J Stevens pjstevns @ gmail, twitter, github, linkedin
www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
--
You received this message
here an 's' ? I could not find documentation on this.
>
> Thanks
>
> François
>
--
Paul J Stevens pjstevns @ gmail, twitter, github, linkedin
www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
--
You received this messa
se 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
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To post
e says: "2014-03-02T19:03:55Z".
The strtime argument contains a typo. Use %M for minutes!
--
____
Paul J Stevens pjstevns @ gmail, twitter, github, linkedin
www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
--
You received
If you don't want or care about authenticating users, you can't know who
is actually at the page, just the number of people, and their IP
addresses, browser version, etc.
Of course some people have done this before. Maybe check out TogetherJS
for more real-time collaboration goodies.
Hi to all,
I am trying to get started with Django. So installing Django through pip
and following the tutorial on the project's website, I first created a
"mysite" project and now try to run "
python manage.py runserver". However, this gives me following error:
C:\mysite>python manage.py runs
The following fails with Django 2.2.6 but works with Django 1.11.x.
Did filter() of JSONfield change in 2.2.6 and the query needs to change, or
could this be a bug?
Goal:
Select model rows where the related AbstractService.EntityJSON contents
“Capability" list includes the value 'data.transf
Django 2.2.7 fixed the problem.
Thanks!
On Friday, November 1, 2019 at 4:59:11 PM UTC-5, Raffaele Salmaso wrote:
>
> On Fri, Nov 1, 2019 at 10:38 PM John-Paul Navarro > wrote:
>
>> The following fails with Django 2.2.6 but works with Django 1.11.x.
>>
> https://co
Hi,
I'm working on a big project at my work myself.
We came to this problem last week (we did something to check it, but it
was unmanagable).
We wanted to move the check to the models. This is a little bit
difficult because you basicly doesn't have the user object at in the
__init__ function of yo
makka...@gmail.com wrote:
>> I'm working on a big project at my work myself.
>> We came to this problem last week (we did something to check it, but it
>> was unmanagable).
>> We wanted to move the check to the models. This is a little bit
>> difficult because you basicly doesn't have the user obj
Hi,
look at the module reference at python documentation:
http://www.python.org/doc/2.5.2/lib/module-tarfile.html
You can see there an is_tarfile to check if it is a tar file, or you can
use TarFileCompat to check if it is a tar_gzipped file.
Alan wrote:
> Hi There,
>
> So I have a form where user
Hi,
just do as the error is telling you.
created_by = models.ForeignKey(User, related_name='createdBy')
assigned_to = models.ForeignKey(User, related_name='assignedBy')
or something like that. That works.
Tirta K. Untario wrote:
> Hi all,
>
> I'm developing a simple todo list. I use Dj
try to define the parameters so
'ENGINE': 'django.db.backends.mysql',
'NAME': 'yourdbname',
'USER': 'root',
'PASSWORD': 'your password',
'HOST': '127.0.0.1',
'PORT': '3306',
El domingo, 6 de enero de 2013
re seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard
404 page.
--
What I miss here is /var/www/testchat4/templates/flatpages/ , there is
my default.html. And I don't know where to configure "helpim.
Op 06-07-11 12:21, CareerDhaba tech schreef:
> Hi Paul,
>
> As described in the error, Django couldn't find the url test/ in the
> URLconf because its not there.
>
> Go to the urls.py of your app and add the appropriate link, and view to
> the URLconf.
>
> Go
out where your database,
dhango etc lives and go from there
keep in mind that default locations usually work but sometimes not
pending how your system was formatted.
Happy Saturday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street
table entries
This can happen when syntax errors, migrations errors occured on the
last run and it did not make it far enough to add the fields?
hope this helps.
Happy Saturday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whit
on (if you are in unix) is to start up a postfix / dovecot
email server instance where you are in control of the protocol's used?
this way your in complete control of your emails in both directions. Its
a bit of work but leaving things to the main stream providers isn't
Happy
reportlab.lib.colors import PCMYKColor, PCMYKColorSep, Color,
black, blue, red, orange
please understand that this is very rough approach
if you need more info a can send my django code if nessesary but is
tailered to my system
fyi
Happy Tuesday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet
and
busilding some sort of connect library per provider.
Afterwhich i save the device key in a local database for future use?
Happy Thursday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3
T
Just an fyi your email showed up as suspect ??
spf=softfail (google.com: domain of transitioning
abhinan...@snakescript.com does not designate 2607:f8b0:4864:20::62b as
permitted sender)
might want to get that fixed
Happy Monday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services
telneting to the server as a test to verify ip & ports are
correct.
example :
telnet 192.168.0.2 8000 for example if you get
a response then you are good to go.
ie
"telnet 192.168.0.2 8000"
Happy Thursday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http:/
dea how of an iPhone, Android device, or Outlook could all be set up to
work with MFA with a standard dovecot/postfix setup. Are there any
practical solutions for easily implementing MFA that could work across
multiple devices?
>>
Disclaimer: I work for Auth0 (now Okta)
On 7/3/22 9:40 AM,
phonenumber = ''
for self.item in
Contacts.objects.get(pk=self.accountid).phone_number.all():
if str(self.item.phone_number) == '' or str(self.item.phone_number)
== 'None' or str(self.item.phone_type) == 'Fax' :
pa
reasons.
too many lib issues to mention a few.
if you are running any kind of production server you really should look
at a linux flavor (i use freebsd as it has several enhancements to the
network layer)
Again not an answer but maybe it is !
Happy Saturday !!!
Thanks - paul
Paul Kudla
please contact me directly
i am familiar with all sorts of databases and have had to migrate data
across multiple platforms.
Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email p...@scom.ca
Happy Friday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <h
ne
if user.check_password(password):
return user
________
Happy Sunday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3
Toronto
ok please see scom.ca for contact info
did not realize email was blocked by django users list
Happy Sunday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3
Toronto 416.642.7266
Main 1.866.41
sorry for using the list
John Diginee
please see scom.ca for my info
Happy Sunday !!!
Thanks - paul
Paul Kudla
Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3
Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
E
501 - 567 of 567 matches
Mail list logo