Has lo que te parezca conveniente, yo no juego.
El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna
escribió:
> My number is +2348090444023 <+234%20809%20044%204023>
>
>
> On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui,
> wrote:
>
>> Hi developer i search to make a group
Mejor les prestó una soga?
El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna
escribió:
> My number is +2348090444023 <+234%20809%20044%204023>
>
>
> On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui,
> wrote:
>
>> Hi developer i search to make a group on WhatsApp to begin
El hombre sin palabra es como una basura
El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna
escribió:
> My number is +2348090444023 <+234%20809%20044%204023>
>
>
> On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui,
> wrote:
>
>> Hi developer i search to make a group on What
Honor?, respeto? Algo que nunca caminaraa su lado
El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna
escribió:
> My number is +2348090444023 <+234%20809%20044%204023>
>
>
> On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui,
> wrote:
>
>> Hi developer i search to make a gro
Your welcome
On Sun, 9 Jul 2023, 3:54 pm Emmanuel Kasirivu Lugoloobi, <
ema.kasir...@gmail.com> wrote:
> Hello guys im studying network systems engineering in college and
> intrested in becoming a full stack web developer. I am currenlty on break
> will be openning in August,. I stumbled upon Dj
Show your cold pleased
On Sat, 11 Mar 2023, 7:04 pm James Hunt, wrote:
> Hi there. I am fairly new to Django but have had previous success with
> creating an app and being able to access the Admin page.
> Recently, if I attempt to access the admin page of a new Django app it
> throws the CSRF e
Dear Django
Please unsubscribe me from your mailing list
Thank you
--
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
Exactly what i wanted to say. The group has helped alot.
On Sun, 7 Aug 2022, 1:48 am José Ícaro, wrote:
> Hey Bro, this is not SPAM, it's Real Help Group. #no_Spam #only_Python
>
> Em sex., 5 de ago. de 2022 às 13:02, Dylan Reinhold
> escreveu:
>
>> Please stop spaming this list.
>>
>> Thanks.
If I am clear about your question, then django-allauth should help you
achieve that. NB: Template customization can be a drag when you just
getting started.
On Tuesday, 26 July 2022 at 02:11:31 UTC Ryan Nowakowski wrote:
> Your question is a little unclear but I'm assuming that you are trying t
Plz can u send me a review of what you what
Victor
On Sun, Nov 22, 2020, 8:05 PM tech george wrote:
> Hello,
>
> I am developing an E-Commerce website and I wanted to have a separate
> upload folder for my slides and separate folders for other sections of my
> site.
>
> Is
Have you try googling your problem
Victor
On Sat, Sep 12, 2020, 9:34 AM dum dum wrote:
> I tried to put my Django Secret Key in Environment Variables.
>
> SECRET_KEY = os.environ.get('SECRET_KEY')
>
> I did save the SECRET_KEY on env var windows 10 like this
> [im
I don't bro i just started new in Django
Victor
On Tue, Aug 18, 2020, 3:46 PM Asif Saif Uddin wrote:
>
> Hi,
> I have got an old project of django 1.8 which use codes like
>
> links = [rel.get_accessor_name() for rel in
> self._meta.get_all_related_objects()]
>
>
hi guy's am victor by name am from african and am new to Django hope i can
use it for my backend i mean the programming language
On Monday, August 10, 2020 at 12:21:13 PM UTC+1 anu19...@gmail.com wrote:
> Hello Everyone !
>
> I am new to Django & looking forward to working
Can anyone help
I need to define login,regitration form from my html template all are in the
same page how do i define in my view.py
--
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
Try html ordered list with your for loop. Like this
On Sat 2. May 2020 at 20.38, Kushal Neupane wrote:
> Not primary key to use here.
> There might be different data.
> I am trying to do serial numbers as total numbers in the list. Thank you
>
> On Sat, May 2, 2020, 23:20 Jorge Gimeno wrote:
>
In the form template tag, shouldn’t it be {{ form.as_p}} tag?
On Sat 4. Apr 2020 at 3.35, Ifeanyi Chielo
wrote:
> Hello,I developed a form with a single field, but this form displays only
> the submit button at the browser as shown in the image below. Please how
> can I correct this and also sa
Sometimes the error can be from your url.py or even views.py and also make
sure no typo. Check each on e of the above carefully. Hopefully you might
see the bug.
Cheers
On Tue 31. Mar 2020 at 18.06, Jeff Waters wrote:
> Thanks Ryan.
>
> I've just tried that, but I still get an error message.
>
Have you try to follow the official documentation tutorial ?
On Thu 26. Mar 2020 at 14.48, Mr Black Hat
wrote:
> hello i am beginner in django, guys can you help me from where should i
> learn django
> i know how to create projects in django and also multiple apps, but i dont
> know how to templ
Check your book.user_id. It shouldn’t be null. That’s what the last error
is saying.
On Mon 23. Mar 2020 at 17.44, Ejike Enyinnaya
wrote:
> Good day All,
>
> I am currently running a test for my Django app call 'Books'.
>
> Anytime I run an INDEX test, I get the following error below:
>
> "File
What's the database variable in your settings.py file
On Friday, March 20, 2020 at 2:54:05 PM UTC+1, Ifeanyi Chielo wrote:
>
> Hello,
> I am new to Python django, I have been making efforts to connect a django
> application to mysql without success. Bellow is the information that I got
> PS C:\U
Hello guys, how do i run a django app on my network so i can access it from
other devices on that network? Thank you
--
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
Try from polls import views and see if that solves the problem. Cheers
On Tue 17. Mar 2020 at 20.02, דביר חומרי wrote:
> i was following the toturial and i could'nt find why this error is accure.
> polls/urls.py'
>
> from django.urls import path
>
> from . import views
>
> urlpatterns = [
>
> relevant field create a model object using the same and save it.
> Similarly do for the other.
>
> You can try for once share the code here if you are unsuccessfull, i will
> help you with the code part then.
>
> Cheers
>
>
> On Tuesday, 3 March 2020 14:58:05 UTC+5:3
age
> You have to implement both in same view
>
> On Tue, 3 Mar 2020, 2:58 pm victor awakan, wrote:
>
>> What I meant was I want one form to be saved in one model and the second
>> form to be saved in another model. I did that using form-tools but I want
>> to learn
t; 
> On Monday, 2 March 2020 18:08:44 UTC+5:30, victor awakan wrote:
>>
>> I am a building a small project in Django. I am able to create two or
>> more forms in a template but now, I want to split the form to separate
>> templates with each form belong to different
You can first try the django official tutorial. This will give you a rough
idea how things works. https://docs.djangoproject.com/en/3.0/
On Sunday, March 1, 2020 at 8:04:45 PM UTC+2, Gurjot Kawatra wrote:
>
> hello everyone ...if anybody could help me out
> my django server is started and i'm
I am a building a small project in Django. I am able to create two or more
forms in a template but now, I want to split the form to separate templates
with each form belong to different models. How can I achieve this? Here is
a link to dpaste with the multiple forms in a template I created:
htt
On Saturday, February 1, 2020 at 2:42:52 PM UTC+1, 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). Members who
> require can contact me or share me there idea.
>
>
> Re
end of settings.py
DATABASES = {
'default': {
# other stuff
'ENGINE': 'django_mysql_nosavepoint',
}
}
That's it. Hope it helps someone
Em quarta-feira, 22 de janeiro de 2020 17:19:42 UTC-3, Victor Guimarães
Nunes escreveu:
>
> Hi,
>
> I'm havin
o database backend I would be glad. Thank you all!
Em quarta-feira, 22 de janeiro de 2020 17:19:42 UTC-3, Victor Guimarães
Nunes escreveu:
>
> Hi,
>
> I'm having some trouble setting up a Django project with a MySQL NDB
> Cluster. I found I had to set the storage engine on
> DA
ttp://]about.me/maninder.s.kumar
> <http://about.me/maninder.s.kumar?promo=email_sig>
>
>
>
>
> On Thu, Jan 23, 2020 at 1:49 AM Victor Guimarães Nunes <
> nuness...@gmail.com > wrote:
>
>> Hi,
>>
>> I'm having some trouble
Will do
Em quarta-feira, 22 de janeiro de 2020 18:32:04 UTC-3, Jason escreveu:
>
> https://code.djangoproject.com/ticket/27677
>
> Check the last comment from Tim.
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
Hi,
I'm having some trouble setting up a Django project with a MySQL NDB
Cluster. I found I had to set the storage engine on
DATABASES['default']['OPTIONS'] and I did it.
DATABASES = {
'default': config('DATABASE_URL', cast=db_url)
}
# Check if mysql database engine is NDBCLUSTER
if config('US
Hi Nina , just read your write up
For some form of clarification to your Confusion I’ll just answer the ones I
can
For the database , don’t make two different ones , one database with two tables
2000 and 2010 will do just fine , just query then right.
For the forms it is required to use POS
I am.
On Nov 27, 2019 18:06, "John McClain" wrote:
> are you interested in working remotely as an intern?
>
> On Wed, 27 Nov 2019 at 17:00, Aniket Jain wrote:
>
>> Hello everyone,
>> I am Aniket Mehta, of 3rd year currently pursuing my BTech from Jain
>> deemed-to-be University Bangalore, and I
Based in Abuja?
On Fri, 22 Nov 2019, 10:16 pm Duncan Jerry,
wrote:
> I would love to work as a back end developer too, am based in Nigeria..
>
> This is my github repo
> https://github.com/aloko001
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users
Thanks a lot for sharing
> On 19 Oct 2019, at 15:09, ISAAC NELSON S.B. KARGBO
> wrote:
>
>
> Try this one out
>
>> On Sat, Oct 19, 2019, 13:47 Md Nayem Tushar wrote:
>> Have any easy and properly complete book in django? pls ans me
>> --
>> You received this message because you are subscr
I tried to a shopping cart but it does not add products and total amount
what can I do
Thank you django community
--
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
When I try to migrate my project from empty DB state, it falls into a
vicious cycle: Trying to migrate it requests Country.objects.all() because
it has form fields using PlaceWidget but this requires it to be already
migrated.
How to solve this problem?
class PlaceWidget(widgets.MultiWidget):
How to migrate a production database MySQL -> PostgreSQL?
(MySQL has several bugs, I want to try something other on my production
server.)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
Hi Madhur.
On your urls.py,
*change: *url('^$', views.index, name=index),
*to:* url('^$', views.index, name="index"),
I assume that you imported the *views.*
On Tue, May 28, 2019 at 12:31 PM Madhur Kabra
wrote:
> I am getting the url conf error. I have attached the relevant files.
> Thanks fo
Which exception should be raised if my data migration code finds that the
data in the DB has a logical error and cannot be migrated for this reason?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receivi
d only if I'll click login button and at the same time it should not
> redirect to custom page if it is coming by loginrequired functionality.
>
> Can you share me the code, please if it is possible.
>
> Thank you once again.
>
>
>
> On Wed, 15 May 2019, 01:20
*Hi Soumen.*
your are trying to re-direct an user to a customized url. To do that you
need to create an URL that receive the name as an argument.
*urls.py*
path('url/', view, name='view_name'),
*View.py*
*from *django.shortcuts* import *redirect
return redirect('app:view_name', user_name=userNa
Give advice: After migrating data, should I remove old fields immediately
or after I change the views and forms to use new models instead of old ones?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop recei
Hola Tatiana.
Vira este tutorial en que te guian para que hagas las operaciones basicas
de *CRUD (Create, Read, Update, Delete)*
https://www.youtube.com/watch?v=twXF1VpK5ak
Saludos !
On Thu, Apr 25, 2019 at 10:39 AM Tatiana Mesa
wrote:
> Hola,
>
> 1.tengo un formulario donde inicialmente lo ll
But. Did you get it to work?
On Mon, Apr 22, 2019, 11:38 AM Robert Wahoo wrote:
> Actually, I found why I got that last message, was a typo on my part.
>
>
>
> On to the next problem…Thank you.
>
>
>
> *From: *"django-users@googlegroups.com"
> on behalf
t; Actually, I found why I got that last message, was a typo on my part.
>>
>>
>>
>> On to the next problem…Thank you.
>>
>>
>>
>> *From: *"django-users@googlegroups.com"
>> on behalf of "Victor H. Velasquez Rizo"
>> *
*Hello Rob.*
With the url "hello/", your trying to call the "hello" function on your
view.py.
*First*, you need to import "hello" to be able to use it. from *from
lct_app.views import hello*
*Second,* call the function. path('hello/', hello),
*urls.py*
from django.contrib import admin
from django
*Hello Silver.*
*- On your URLCONFIG add *
path('', include('public_posts.urls')),*<=== Add*
-* On your public_posts/urls.py add*
app_name = 'public_posts'
urlpatterns = [
path('', views.pub_post_list, name='pub_posts'),
path('', views.post_new, name='new_post'),
path('new-post/'
Hello John:
You have to be in the folder where the enviroment was created, then type
source /bin/activate
On Sat, Mar 30, 2019 at 1:32 PM John wrote:
> Good evening
>
> I've created and activated venv like this:
> $ python3 -m venv
> $ source /bin/activate
>
> Now Ive ‘deactivate’ the venv
>
>
Hello Carol.
Try this
https://tutorial.djangogirls.org/en/
On Sat, Mar 30, 2019 at 9:12 AM carol caro wrote:
> Hello. I am a new or beginner django developer. Where do I start from
> I have installed python and integrated with Django framework but I don't
> know what to do next
>
> --
> You
Jayesh.
It will be more helpful if you can share a view of your models...
On Thu, Feb 21, 2019 at 2:10 AM bhushan patil wrote:
> I am running the command 'python manage.py makemigrations polls' but it's
> showing that django.db.models has no attribute model.
>
> --
> You received this message be
Jayesh
The class Choice()
Indentation is wrong.
It has to be at the same column alignement of Question
On Thu, Feb 21, 2019 at 12:43 PM bhushan patil
wrote:
> I am trying to build my first app in django but an error has occurred
> starting 'Question is not defined'.can anyone help me with th
Daniel
Share your urls.py file
On Thu, Feb 21, 2019 at 5:32 AM wrote:
> please let me know the particular solution for version 2.1 i m stucked
>
> On Friday, 21 March 2014 14:31:29 UTC+5:30, Daniel Roseman wrote:
>>
>> On Thursday, 20 March 2014 23:07:47 UTC, wasingej wrote:
>>>
>>> I am try
Hola Abel.
Que exactamente en lo que estas teniendo problemas para configurar?
On Tue, Feb 19, 2019 at 11:21 AM Abel Sena wrote:
> no puedo configuralo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and
Got it.
Thank you
On Tue, Feb 12, 2019 at 12:40 AM Mike Dewhirst
wrote:
> On 12/02/2019 4:54 pm, Victor H. Velasquez Rizo wrote:
> > Hi Mike.
> > I have spend hours trying to get the code where all this crazyness is
> > happening with no good luck.
> > I would like
9 2:19 pm, Victor H. Velasquez Rizo wrote:
> > Hello mike.
> > Thank you for all this information.
> >
> > I've been checking the migrations but I don't see anything with the
> > *sort_value*
>
> In that case you have asked for gallery_photos.sort
tp://127.0.0.1:8000/admin/photologue/photo/215/> (None) Feb. 11,
2019, 10:02 p.m. [image: True] 0
<http://127.0.0.1:8000/photologue/photo/paris/>
VICTOR <http://127.0.0.1:8000/admin/photologue/photo/214/> (None) Jan. 21,
2019, 11:50 a.m. [image: True] 0
<http://127.0.0.1:8000/p
, wordsearch, stationary
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
*Running migrations:*
* No migrations to apply.*
On Mon, Feb 11, 2019 at 5:42 PM Mike Dewhirst wrote:
> On 12/02/2019 10:23 am, Victor H. Velasquez R
Hello everyone.
I am desperate trying to find a solution for this issue...
ProgrammingError at /admin/photologue/photo/
column photologue_gallery_photos.sort_value does not exist
LINE 1: ...lery_id", "photologue_gallery_photos"."photo_id", "photologu...
It is happening every time I try to dele
My buddy says that REST Framework is complex and inflexible.
So the question: Any other framework which supports validating JSON data?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
10:51:13 AM UTC+5:30, victor jack wrote:
>>
>> Will check it out . Thanks for your input very much appreciated
>>
>> On Tue, 9 Oct 2018 6:17 AM Manjunath, wrote:
>>
>>> Hi Victor,
>>> Are you sure book.author.pk has value?
>>> can you send t
Your application'software URL is not mapped correctly , from the error
page it is only the admin that can be loaded .
On Tue, 9 Oct 2018 6:40 AM Pradeep Singh, wrote:
>
>
> On Mon, 8 Oct 2018 at 22:30, victor jack wrote:
>
>> screenshot of the error message Singh will
t; On Tue, 9 Oct 2018 at 10:52, Pradeep Singh wrote:
>>
>>> please help me ...i am always getting django 404 error .how to fix it
>>>
>>> On Mon, 8 Oct 2018 at 22:17, Manjunath wrote:
>>>
>>>> Hi Victor,
>>>> Are you sure book.author.
Will check it out . Thanks for your input very much appreciated
On Tue, 9 Oct 2018 6:17 AM Manjunath, wrote:
> Hi Victor,
> Are you sure book.author.pk has value?
> can you send the model definition of Book & Author to verify?
> Or you can verify yourself by using django Shell.
:06:08 AM UTC+5:30, victor jack wrote:
>>
>> Hello guys, i am in dire need of any django user's knowledge, i have this
>> issue that has been bugging me literally in my codebase. I want to render a
>> html page but the error keeps on coming, i have tried bu
*Ok i see, you create an admin folder in your template folder then create a
base_site.html and an index. html file , these file will contain your
custom feature ,then when you runserver the new admin site will be rendered
from there(admin ) folder. I hope this helps.*
On Mon, Sep 3, 2018 at 7:58 PM
Do u want to customise the admin page to be different from the default
one django provides?
On Mon, 3 Sep 2018 8:04 AM , wrote:
> Hello, i want to change de title and the default text in the header of the
> Django-Admin site but i don´t know do that.
>
> --
> You received this message becau
More like vim and vs code are the best editors
On Sun, 2 Sep 2018 06:51 RONAK JAIN, wrote:
> Atom is best editor.
>
> On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas,
> wrote:
>
>>
>> Hi to all,
>> Which is the best editor for django framework in Ubuntu os
>> 18.04
>>
>> Get Outlook f
https://docs.djangoproject.com/en/2.0/topics/i18n/
check this out, but i don't think changing language_code from en to en-us
is the problem.
On Sat, Sep 1, 2018 at 2:31 PM Leo Treasure wrote:
> Hello,
>
> I've needed to update the settings.py file LANGUAGE_CODE = 'en' to 'en-us'
> which has res
from the error message , i think you need to install the package zlib and
import it.
On Sat, Sep 1, 2018 at 2:31 PM Lutalo Bbosa joseph
wrote:
> raceback (most recent call last):
> File "/usr/local/bin/virtualenv", line 9, in
> load_entry_point('virtualenv==15.0.1', 'console_scripts',
>
Thanks for the link stephen , really much appreciated.
On Sat, Sep 1, 2018 at 7:59 PM Stephen J. Butler
wrote:
> GitHub has an excellent set of gitignore files. My first commit to a
> project is always one of these:
>
> https://github.com/github/gitignore
>
> In particular:
> https://raw.githubu
Check out the documentation on digital ocean
On Sat, 25 Aug 2018 15:36 ERICK OMONDI AYARA, wrote:
> I would like to host a django project onto a web domain but cant seem to
> get around it. i cant also find the python setup on the SOFTWARE section of
> my file manager. Is there a way to do this
Some python knomedge is a must if you plan on using Django. I also would
recomend some basic mysql or postgres understanding
On Thu, Jul 26, 2018, 7:14 AM arul wrote:
> *I just entered the programming world and i know little bit
> javascript,HTML can learn even I don't know any oop/scripting
Hi everyone. I am trying to make a project which have an app named pet, in
this app in the model I have "choice field"(I don't know if this is the
best way to say that). So, I want to display the objects according to the
choice value in a respective template. Therefore if I put meat with food
"
use "sqlmigrate " is too ineffective to get all sql script to setup new
database .
is there anyway to dump all "sqlmigrate" for all apps ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emai
un 2017 at 17:53 James Schneider
wrote:
>
>
> On Jun 18, 2017 10:11 PM, "Victor Hooi" wrote:
>
> Hi,
>
> Say you have multiple custom users, each inheriting from AbstractUser. The
> docs mention setting AUTH_USER_MODEL:
>
>
> https://docs.djangoprojec
it to?
Regards,
Victor
--
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 group, send email
with Google Admin well?
Ideally we'd want different sections to edit teachers, vs students vs
parents - but not sure if this is possible.
On Wed, 14 Jun 2017 at 21:45 Mike Dewhirst wrote:
> On 14/06/2017 8:59 PM, Victor Hooi wrote:
> > Resurrecting a slightly old thread =), but
anage multiple types of users?
The docs mention adding an inline to UserAdmin - however, this seems to
assume you only have one model with a user profile - what if you have
multiple?
Regards,
Victor
On Monday, 14 November 2016 04:57:53 UTC+11, me.vineetkothari wrote:
>
> Use one to many f
I have created a full featured package to accept payments in Internet
(currently supports PayPal).
It has especially great support for recurring payments.
Here it is:
http://freesoft.portonvictor.org/django-debits.xml
I hope we with community work will turn it into an universal payment
gateway
I store into the DB payments received through PayPal. Every payment is
either manual or automatic (automatic payments are done for the user by
PayPal automatically, based on user's permission to pay in the future). I
wish to distinguish manual and automatic payments in the DB. But in the
follow
# May contain several purchases
class Transaction(models.Model):
name = models.CharField(null=True)
class Purchase(models.Model):
bundle = models.ForeignKey(Transaction, null=True)
recurring = models.BooleanField(default=False)
For a given transaction, all its purchases must either al
pression using profile models is less invasive).
Regards,
Victor
--
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...@googlegroup
After generating DB scheme, I need to add two rows with certain data to
certain table.
How to do it?
Can it be handled with migrations?
A complication is that these two rows contain strings dependent on the
user's language.
Can this be done?
--
You received this message because you are subs
Well, I did it.
On Monday, October 3, 2016 at 10:41:59 PM UTC+3, Victor Porton wrote:
>
> I try to make a reusable app which uses transaction.atomic().
>
> When I run my test.py (below) for my reusable app, I get the below errors.
>
> Is it possible to test this reusable app o
I try to make a reusable app which uses transaction.atomic().
When I run my test.py (below) for my reusable app, I get the below errors.
Is it possible to test this reusable app outside of a Django project?
[[[
import unittest
from transaction_utils.transaction import retry
class TestRetry(uni
I've created an app which is "almost" reusable: it depends on a variable in
/setting.py of our project .
from .settings import TRANSACTION_ATTEMPT_COUNT
Can it be made into an reusable app?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
How to detect deadlocks of a transaction?
Which exception is thrown if a deadlock happens?
We currently use SQLite and MySQL but may switch to another DB.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
My app (FreeBSD, Django 1.9.4, totally developped using the Admin Site) uses,
among othe things, the model "Order" and "OrderDetail" as its inline (see
below a simplified version).
The "OrderDetail" model overrides the default save by means of a somewhat
elaborate save function with a long work
Under Django 1.9.5 and admin I'm developping an application "myapp" of which
below you can see a simplified complete version.
Focusing on the OrderOption ModelAdmin its inline OrderDetailinline has a
raw_id_field related to the model Item. Now, when I click on the magnifying
lens close to t
ion(admin.ModelAdmin):
list_display = ('title', 'author', 'quantity')
fields=(('title', 'author'), ('quantity'))
order_by= ['title', ]
admin.site.register(Book,BookOption)
I'm trying to explain my problem with
Looks like you are not making anything very custom on you view so maybe
would be easier/better to use the buitin views from django auth.
on your urls.py you can do:
from django.contrib.auth import views as auth_views
urlpatterns = [
...
url(r'^login/', auth_views.login),
]
On your sett
I agree that it is time for django to change it (at least making the
changes easier).
On my project I did create a new user model that inherit from AbstractUser
class UserManager(BaseUserManager): ...
class User(AbstractBaseUser): email = models.EmailField(unique=True)
objects = UserManager() US
Jeremy,
Extending a template do not magically gives you access to the context
variables the other template has.
The context is set in the view, what's the view for the homepage? You
didn't include it in your post.
Is the variable images set in there? I recommend using django debug toolbar
to h
Production Context, Ubuntu 14.04, Django 1.7.7 & Apache2
Dear experts,
I'm stranded!
What I would like to do is:
1) to provide an initial and final date to make some statistical computation in
that period,
2) pass those dates to an R procedure which by means of the package R2HTML
produces a
Hi all,
I'm using Django 1.8 and having trouble to because my form does not
generate fields with required option even though they have the property
"blank=False" in the model.
In the example bellow, shouldn't the field "description" have the
"required" attribute in the html generated using "for
> if self.emails.count() == 0:
> raise ValueError("Need at least one email.")
> return super(Person, self).save(*args, **kwargs)
>
>
> class Email(models.Model):
> person = models.ForeignKey(Person, related_name='emails')
> em
= models.CharField(max_length=100)
emails = models.ManyToManyField(Email, null=False, blank=False)
def __unicode__(self):
return self.last_name + ', ' + self.first_name
On Tuesday, April 7, 2015 at 6:48:22 PM UTC-4, victor menezes wrote:
>
> Thanks for th
1 - 100 of 385 matches
Mail list logo