Hi Joseph,
Django is open source. Feel free to dive in. Or better still, go through
pull requests so that you can see the context for parts of the code and
also what functionality they provide.
On Sun, 11 Jun 2023 at 20:00, Joseph Balogun wrote:
> Hi Django fam!
>
> Can you pls recommend a
Are you talking of this postman api?
https://docs.api.getpostman.com/?version=latest
On Thu, 12 Sep 2019, 14:31 Tosin Ayoola, wrote:
> Halo
> Good day sorry I wan work on a airline tickets reservations project using
> postman Api, but I've never used that before and can't seem to find any
>
Hello Progress.
Just like how you fill out a form in the Admin site, you should also create
a form in your site.
On Mon, 10 Jun 2019, 12:18 Progress Onyema,
wrote:
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this
>
> On Sun, Mar 31, 2019 at 5:21 AM Babatunde Akinyanmi
> wrote:
>
>> Hi,
>> That's pylint telling you to change the variable name 'movie_resource' to
>> all caps.
>>
>> On Sat, 30 Mar 2019, 07:30 Dennis Alabi, wrote:
>>
>>> My program throw
Hi,
That's pylint telling you to change the variable name 'movie_resource' to
all caps.
On Sat, 30 Mar 2019, 07:30 Dennis Alabi, wrote:
> My program throw up this error >>Constant name "movie_resource" doesn't
> conform to UPPER_CASE naming stylepylint(invalid-name)
>
>
>
>
>
> """vidly URL
Hi.
You haven't given us any useful information for assisting you. You will get
more replies if you say what you have done, show what your settings look
like, tell if your are using the development server, stuff like that.
Welcome to the django community
On Wed, 21 Nov 2018, 16:06 Obodoma
Not necessarily. It just depends on the exact use case, the direction the
application is moving in the future, etc
On Sat, 27 Oct 2018, 14:13 Charley Paulus, wrote:
> Hi,
>
> Is it overkill to use Django just to dispatch url requests and to reply
> with JSON (i.e. not using at all the HTML
This is not a django problem. Simply install and upgrade the apps specified
in the error message
On Thu, 12 Apr 2018, 16:03 Ank, wrote:
> Hi all,
>
> Iḿ trying to setup Catmaid - http://catmaid.readthedocs.io/en/stable/. Iḿ
> receiving this error when installing
f of Derek Zeng <zen1...@gmail.com>
> *Sent:* Tuesday, April 10, 2018 10:31:27 AM
> *To:* django-users@googlegroups.com
> *Subject:* Re: Help: 'django.utils.six.moves' is not a package
>
>
>
> On Tue, Apr 10, 2018, 1:39 AM Babatunde Akinyanmi <tundeba...@gmail.com>
On Tue, 10 Apr 2018, 02:47 Derek Zeng, wrote:
> I'm using django 2.0.
> What exactly is the purpose of django.utils.six.moves module?
>
Allowing a code base to be able to run on both python 2 and python 3
I have read the source but don't quite understand. Seems like a
Hi,
How many records are we talking about? What code are you using to fetch the
records? In other words, add more information so that it's easier to
troubleshoot
On Mon, 2 Apr 2018, 02:27 tango ward, wrote:
>
> Good day,
>
> I need suggestions on how to approach this
Hi Ahmed,
I made some inline comments
On Sat, 31 Mar 2018, 10:44 Haroon Ahmed, wrote:
> Hi,
>
> I am using python 3.4 already!
> Yes my project is big, it is almost completed now but the requirement is
> to upgrade it to latest suitable release and that release should not
Hi Vincent,
I'm not sure what you mean by "compatible".
If you are asking if the Admin app can be styled with the bootstrap4, the
answer is yes. There are many third party apps that do this for you and you
can find them with a simple Google search.
If you are asking if django Admin app is going
Hi Daniella. Welcome to the django ecosystem.
As per your question, to get started with django, read the tutorial.
https://www.djangoproject.com/start/
On 16 Mar 2018 18:57, "Daniella" wrote:
PLEASE I AM NEW TO DJANGO FRAME WORK. PLEASE CAN SOMEONE PUT ME THROUGH
You need to give a proposal detailing what you want to work on. Note that
while you may ultimately improve your skills with the project, your main
goal will be to improve the project.
On 1 March 2018 at 05:25, tola temitope wrote:
> hey, good day guys i am a Django
I'd love to but the problem is I don't have the time.
I suggest you start by attempting to build something. The django community
is very welcoming to beginners so if you encounter issues and you can't
find the answer on stackoverflow.com, post a message to the mailing list.
You can copy me also
I'd joyfully be of assistance. Email me.
On 5 Apr 2017 16:47, "Joe Landrigan" wrote:
> Thanks Mark! I'll take all the free mentoring I can get. ;) I could use
> both types of mentors, but wasn't expecting an entrepreneurial mentor on a
> Django site. The idea is actually
Hello Idowu.
You were supposed to include your stack trace so that there can be a proper
diagnosis of the problem. Now we can only guess.
I guess you are submitting your form with the `description` field empty
because your defined it with `blank=True` in your models.py. If you want to
be able to
I think the only way you will be able to uniquely identify a computer is by
using a "permanent" cookie. I find such practice very very intrusive and
it's something I will personally not do.
Meanwhile, IP addresses, cookies and the likes are good to identify
computers not users. If you really
How about the stack trace?
On 22 Dec 2016 16:43, "pradam programmer"
wrote:
> I restarted hundred times still can't able to rectify it
>
> On 22 Dec 2016 9:07 pm, "ADEWALE ADISA" wrote:
>
> Restart the server
> On Dec 22, 2016 4:27 PM,
-in a given
> conversion rate at some point in future for a given amount.
>
> A smaller firm would most likely choose just one stable currency and force
> all buyers to pay in that currency.
>
> Probably not answering your question but I hope that helps
>
> Mike
>
>
> Reg
Hello Khan,
Your payment processor will specify in its API how it determines currency.
This is not a django problem. I'm sure the answer to your question lies in
the documentation of Stripe and Braintree
On 7 Aug 2016 18:46, "A.Khan" wrote:
> Hi I am new to Django and
This is a punch in the dark. It takes about 3 - 5 seconds on my my windows
machine when I run the dev server using pycharm's inbuilt terminal and my
code is way below 5k lines
On Jul 4, 2016 7:20 AM, "Krishna Bharadwaj" wrote:
> Hi Fred,
>
> It takes about 3.5 - 5
Hello Ikram,
You still didn't give enough details. For example, does it submit and
successfully or does it not?
Anyway, I can see some problems in your markup.
1. I do not see any form tag ( <\form>) in your markup.
2. More importantly, your form input elements do not have a name attribute.
Hello Ikram,
It's going to be difficult to help you without more information about the
problem. If you give information about what you have tried and what's
failing, you will get more helpful answers.
On Jun 20, 2016 12:56 PM, "Ikram Ulhaq" wrote:
> Hi everyone!
> i am new
Actually it's you. Please see inline:
On Jun 15, 2016 11:56 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 =
elf).__init__()
>> >> for key in self.fields:
>> >> self.fields[key].required= False
>> >> self.fields[key].label = False
>> >>
>> >>
>> >> class Meta:
>> >> fields = '
Hello Lekan. I have responded inline but my answer might not be a complete
fix.
On May 5, 2016 4:56 PM, "Lekan Wahab" wrote:
>
> Hello,
> Please, i have a model form in forms.py which am trying to validate and
update my database with. However, for some reason the form is
I don't know if I'm off target but.
I'm presently work on something like this where I have have to save three
models at a go. One model is a stand alone while the other two have a
foreign key to the stand alone model which is a many to one relationship.
So to implement the many to one where I
Or
Create a new postgres database, transfer the data to it, verify its
correctness then change your settings file to point to the postgres
database.
On 22 May 2015 09:59, "Gergely Polonkai" wrote:
> I will also have to do this in the near future (same reason), and already
>
That tutorial works when you are using django-nonrel which is a fork of
django. To get a solution to the issue you are experiencing, you might have
better luck by posting on the django-nonrel mailing list
On 13 May 2015 03:14, "Abhijit Chatterjee" wrote:
>
>
> On
Yes it is and very easy.
Create a form without a username field and do something like this:
def autogenerate_username ():
# some logic
new_user=User.objects.create_user(autogenerate_username (),
self.cleaned_data['email'],
On 14 Mar 2015 12:22, "John" wrote:
>
>
> Dariusz,
>
> You've declared ask_number() as an instance method in class Hand. You are
calling it as if it was a class method. See
https://docs.python.org/3.1/tutorial/classes.html.
>
In other words, you have to first create
Something like that. The essence of "form_save" is to save data from a form
to the fields of the User model in the database. The thing to note is that
a Form's save method returns the object that was saved. Also, a Form's save
method and model save method do the same thing
On 1 Mar 2015 20:30,
On 31 Jan 2015 10:11, "Stephen J. Butler" wrote:
>
> You still could store the do_something_after_badge_awarded result in a
> database table, but cache the lookups from the view for something
> short, like 5 minutes. How quickly after a badge is awarded do people
> need
On 30 Jan 2015 21:03, "G Z" wrote:
>
> Hello, I'm in the design stages of a site that I'm building. It is going
to be a basic social media site for a game I'm designing in unity. I'm not
entirely sure how to do some of the things I want to in Django. Thus, my
first question is
On 30 Jan 2015 17:13, "Tobias Dacoir" wrote:
>
> I just added django-badges to my project. Basically it can award Badges
if Users fullfill certain requirements. For this, everytime I call
user.save() django-badges receives the post_save() signal and starts
checking.
>
> Now my
I don't think you are going to get any helpful replies with that kind of
statement?
On 13 Jan 2015 13:04, "Jenefa Jeyaraj" wrote:
> ImportError: No module named check_constraints
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django
James said it all.
I'll just add that you really need to brush up on your python. Django is
pure python. I've all been there before.
On 6 Jan 2015 21:10, "Henry Versemann" wrote:
> I tried what you suggested and printed from the view what the type command
> returned and it
userobj = User.objects.get(username=myuser)
Will get you a User object or throw an error if it can't find anything. The
string representation of the User object is the string contained its
username field.
Try this to confirm:
type(userobj)
On 6 Jan 2015 18:48, "Henry Versemann"
At this point i think it will be good to paste the stacktrace here
On 3 Dec 2014 14:18, "Danish Ali" wrote:
> I also used this method. But I got same error in this method too.
>
> def save(self, *args, **kwargs):
> self.slug = slugify(self.name)
> super(Shop,
On 16 Oct 2014 15:36, tundeba...@gmail.com wrote:
>
> Hi,
> >
> Is this verbatim?
So sorry. "Slip of hand".
If you are writing your tags that way it won't work because of the double
quotation mark. Do something like this:
--
You received this message because you are subscribed to the Google
Hi,
>
Is this verbatim?
--
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 to
Hi,
>
Is this verbatim?
--
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 to
Hi Sheyda,
Perhaps you need to adjust your postgres configuration file
On 13 Oct 2014 19:52, "sheyda kianimehr" wrote:
> Hi Collin,
> I made a Database, I can see the tables of my DBs in terminal but when I
> use this python manage.py runserver
> for connecting to server I
I don't think its risky to have csrf token in the url since its in open
view in the page's source anyway (I'm not a security expert so that with a
very large bag of salt). However you would have that behavior when you are
submitting a form with a GET. You should use POST to submit your form
You should also change your email password immediately because you just
exposed it to the whole world
On 2 Oct 2014 15:52, "Erik Cederstrand" wrote:
>
> Den 02/10/2014 kl. 16.37 skrev Sabine Maennel :
>
> > Please help!
> >
> > I want to
Your question is vague. You need to be specific about what you want to do.
Let us see what you have tried and let us see the stack trace of any error.
Otherwise, your question seems like "hi, I want to build a car".
When you put in the details i can assure you that answers will start flying
in.
Hello Sachin,
On 30 Sep 2014 10:50, "Sachin Tiwari" wrote:
>
> Hi
>
> I want to display a phone number field at users list page,
>
> Username emailAddress FirstName LastName staffstatus PhoneNumber
> sachin a...@g.com sachintiwari
Hi,
If you can download in your server then you can install python 2.7+ into
your virtenv.
On 27 Sep 2014 19:54, "François Schiettecatte"
wrote:
> Hi
>
> I know that Django 1.7 does not officially run on Python 2.6:
>
>
>
Hi Sabine,
I use Redhat's Openshift.
On 25 Sep 2014 07:55, "Sabine Maennel" wrote:
> Thank you very much for your advice Marc, it is very valuable to me,
> especially the part that my hosting provider for today does not need to be
> that of the future. My problem right
On 30 Aug 2014 07:15, "James Schneider" wrote:
>
> I reread the OP, and it sounds like he is using a static HTML page served
elsewhere and POSTing directly to the Django app. If you disable CSRF
validation on the form view in Django, it should work. However, I would
Why are you adding a csrf token in your context?
On 29 Aug 2014 13:05, "Pawan Soni" wrote:
> Hi ,
>
> i have a simple html page,*p.html *which is not made in django
> application ,its just a ordinary html page which look like..
>
>
>
> http://127.0.0.1:8000/test/;
Hi Amarshall?
We need more information. Give us the traceback
On 29 Aug 2014 01:22, "amarshall" wrote:
> I've deployed my django application using Nginx and uWSGI.
>
> In development I can login to my django admin-> users-> [username] and it
> shows the users information.
Hi Mihai,
Ee can't help you without enough information. You need to at least give the
traceback of the error
On 28 Aug 2014 21:28, "Mihai Andrei Gabara"
wrote:
> Hi! who can help me with "wizard" problem. i have 7 steps. every step have
> the "next" and "back"
On 25 Aug 2014 23:32, "Babatunde Akinyanmi" <tundeba...@gmail.com> wrote:
>
> Hi Przemek,
> I'm not sure there's a name attribute for Field and its subclasses.
> Does removing the name attribute work?
>
Oops. I meant argument not attribute
> On 25 Aug 2014
On 26 Aug 2014 14:38, "James Schneider" wrote:
>
> Try changing the 'name' argument to 'verbose_name' like so:
>
> name = models.CharField(max_length=30, verbose_name='Vlan name')
>
> I don't believe model fields accept 'name' as a keyword arg.
This would also explain the
Hi Przemek,
I'm not sure there's a name attribute for Field and its subclasses.
Does removing the name attribute work?
On 25 Aug 2014 22:19, "Przemek Ciborowski" wrote:
Hello guys,
I'm really beginner in django.
I have extremely simple example:
class Vlan(models.Model):
On 25 Aug 2014 22:12, "Jagger" wrote:
>
> It works. Thanks. I removed the hardcoded URLs from the templates and I
refer to index in this way:
>
> NEWS
>
> You asked why I gave the two patterns the same name.
> The website default page is 'index'. It contains the news. The News
Ok. I'm replying inline:
On 24 Aug 2014 18:43, "Jagger" wrote:
>
> The link is in the base.html of spweb app:
>
> NEWS
>
This link is relative so the browser will append the href attribute to the
present URL. You should change it to:
NEWS
>>
>> On 24 Aug 2014 12:30, "Jagger"
How did you write the link as a relative link un your template?
On 24 Aug 2014 12:30, "Jagger" wrote:
> Hi Everyone!
>
>
>
> I use Python 2.7 and Django 1.6 on Xubuntu 14.04.
>
>
> I'm a beginner. My problem is:
>
>
> The root URLConf:
>
> from django.conf.urls import
Google Redhat Openshift
On 22 Aug 2014 09:25, "ngangsia akumbo" wrote:
> my boss uses php to build web apps
>
> he is n9ot very convince that django can be very cheap in hosting as php.
>
> is there any way i can host a django app whic is as cheap as php?
>
> --
> You
Hi Mariusz,
You won't go far in learning anything if you back out at the slightest
resistance. When your code spews errors, you should attempt to find out
what exactly caused the errors.
That said, Django is just pure python. Nothing special and magical about
it.
My advice, anytime you hit such
Also, if you are manually adding the form to your template you should make
sure you add a name attribute to all the input tags
On 13 Aug 2014 15:33, "Collin Anderson" wrote:
> Are your form fields actually in the tag? Is there any data at all
> in request.POST?
>
> --
>
Perhaps you should show your model definition and the complete traceback.
A wild guess though, did you syncdb?
On 2 Aug 2014 20:23, "Michael Carey" wrote:
> FieldError at /polls/
>
> Cannot resolve keyword 'name' into field. Choices are: choice, id, pub_date,
> question
>
>
Hi Brad, my response is inline
On 30 Jul 2014 02:26, "Brad Rice" wrote:
>
> I have three tables. The first one is application which has a flag for if
an app has been submitted as well as created date and modified date. The
other two tables relate to the application table. I
Hi Devin,
On 29 Jul 2014 12:33, "Devin Cky" wrote:
>
> hi i am a beginner in django and I have a problem .. how can I validate 3
forms on the same page simultaneously ..please help me
>
This is what formsets were made for.
> --
> You received this message because you are
On 23 Jul 2014 11:08, "ngangsia akumbo" wrote:
>
> this is what am doing.
> I am creating a website which i will like to include the ability of
adding pages to that site.
>
> I have already a news, event and gallery app working, i wish to include
the ability to create other
On 22 Jul 2014 18:56, "Ezequiel" wrote:
>
> On Saturday, July 19, 2014 10:41:11 PM UTC-3, Martin Torre Castro wrote:
>>
>> Please could someone help with some piece of advice, pros and cons of
every option. Just don't want to do something now I will regret in future.
>>
Hi Lucas. The development version of django is unstable so if you choose to
use it, you should not be surprised if strange things like what you have
described happen. Also, _meta is a private part of the code base that can
change anytime.
On 7 Jun 2014 21:18, "Lucas Sampaio"
Like someone said, you can consider caching the entire queryset. That will
definitely impact memory. Another idea is to play with timestamps in your
query since you don't care if the results are not accurate. Maybe you
shouldn't paginate then you can draw out the whole queryset, render them on
the
You have to search google for a third party cassandra backend app as Django
does not support nosql by default.
On 9 May 2014 17:56, "youssef simo" wrote:
> I have a project witch i have to develop with Django using Cassandra data
> base, i looked in documentation but
This does not answer the question but you really shouldn't be learning with
the dev version
On 27 Apr 2014 15:38, "rob25" wrote:
> Hello,
>
> I was following the instructions to create a basic poll application with
> django 1.8 (dev), but now I'm stuck to this
>
Ji Cristiano. You show the code that is not behaving as you expect
On 6 Feb 2014 03:15, "Cristiano Araujo" wrote:
> the message error:
>>
>
> Using the URLconf defined in webapp.urls, Django tried these URL
> patterns, in this order:
>
>1. ^blog/ ^$
>2. ^blog/
On 31 Jan 2014 02:13, "Charly Román" wrote:
>
> You need to install django-taggit.
>
Or add taggit to your INSTALLED_APPS setting.
>
>
> 2014-01-30 Cristiano Araujo :
>
>> goodevening guys
>> i'm new in this group
>>
>> my problem is this: i'm
Response inline
On 29 Jan 2014 07:22, "Mark Phillips" wrote:
>
> I have a site built using django 1.6. It runs as expected with runserver
on my Debian laptop in a virtual env based on Python 2.7 (development
machine). I copied the site to another Debian server
Replies are inline
On 28 Jan 2014 17:15, "Mark Phillips" wrote:
>
> On Mon, Jan 27, 2014 at 11:51 PM, Mike Dewhirst
wrote:
>>
>> On 28/01/2014 4:51pm, Mark Phillips wrote:
>>>
>>> I have a django project running on my laptop. I have (finally)
> François
>
> On Jan 18, 2014, at 12:05 PM, Babatunde Akinyanmi <tundeba...@gmail.com>
wrote:
>
> > https://docs.djangoproject.com/en/1.6/ref/request-response/#usage
> >
> > Actually, Google is your friend.
> >
> > On 18 Jan 2014 19:48, "Igor
https://docs.djangoproject.com/en/1.6/ref/request-response/#usage
Actually, Google is your friend.
On 18 Jan 2014 19:48, "Igor Korot" <ikoro...@gmail.com> wrote:
> Hi, Babatunde,
>
> On Sat, Jan 18, 2014 at 8:32 AM, Babatunde Akinyanmi
> <tundeba...@gmail.com>
ro...@gmail.com> wrote:
Hi, guys,
On Sat, Jan 18, 2014 at 12:02 AM, Babatunde Akinyanmi
<tundeba...@gmail.com> wrote:
>
> On 18 Jan 2014 08:32, "Mario Gudelj" <mario.gud...@gmail.com> wrote:
>>
>> In your template try {{usb_data|safe}}
>
> ..
On 18 Jan 2014 08:32, "Mario Gudelj" wrote:
>
> In your template try {{usb_data|safe}}
...because django escapes everything in the template by default except
you ask not to. One of the methods of doing so if by using the `safe`
filter like Mario suggested.
You can
Or just ask Google
On 10 Jan 2014 16:11, "carlos" wrote:
> actually yes bluehost support django read this
> http://blog.ruedaminute.com/2011/01/2011-installation-instructions-for-django-on-bluehost/
> maybe help you!!
>
> Cheers
>
>
> On Fri, Jan 10, 2014 at 9:08 AM,
Think about it like this. A class is a box with something inside. The
__unicode__ method is putting a label on the box to describe what is inside
the box. The label doesn't have to be there and if its there, it can have
anything written on it (which should make sense to the person writing it).
The
ican.mumu.com.ng
Sent from my Windows Phone
From: Jasvir Singh
Sent: 9/29/2013 6:43 AM
To: django-users@googlegroups.com
Subject: Re: Responsive design
On Thu, Sep 26, 2013 at 1:48 PM, Jasvir Singh wrote:
> Could anyone please tell me, how to make responsive design
> in
On Sun, Sep 8, 2013 at 3:49 AM, Harjot Mann <harjotmann1...@gmail.com>wrote:
> On Wed, Sep 4, 2013 at 2:17 PM, Babatunde Akinyanmi
> <tundeba...@gmail.com> wrote:
> > This is usually a side effect of not doing a redirect from the view
> > that handles your submitted
This is usually a side effect of not doing a redirect from the view
that handles your submitted form.
Sent from my Windows Phone
From: Harjot Mann
Sent: 9/4/2013 5:31 AM
To: django-users@googlegroups.com
Subject: duplicate entry in django
In my app whenever the page is refreshed, the double entry
On Sun, Aug 4, 2013 at 11:56 PM, Mike Dewhirst wrote:
> On 5/08/2013 4:22am, Tundebabzy wrote:
>
>> Hi,
>> Is there any documentation on how django behaves during a GET
>> /favicon.ico? In my django 1.4.5 installation with runserver, GET
>> /favicon.ico redirects to
Override your get method but it's easier to override the get_context_data
method like
# From my head
def get_context_data(**kwargs):
context = super(IndexView, self).get_context_data(**kwargs)
#filter1 is already present as latest_poll_list in the context
filter2 = Word.blah()
I'm assuming you want the form to morph on the screen without a page
reload. If that's the case, you need JavaScript like jQuery. let the view
you are submitting your POST to return the data you need in JSON and use
jQuery to remove the form and add the results or url
Sent from my Windows Phone
How about changing this:
Bookmark.objects.get_or_create(
user = request.user,
link = link
)
To this:
Bookmark.objects.get_or_create(
user = request.user.id,
link = link
)
Sent from my Windows Phone
.or just use an if statement
Sent from my Windows Phone
From: Christophe Pettus
Sent: 6/26/2013 3:37 AM
To: django-users@googlegroups.com
Subject: Re: How to have two unicode methods in the models?
On Jun 25, 2013, at 6:54 PM, yeswanth nadella wrote:
> How do I add another unicode method so
Coincidentally, I debated this with myself this afternoon. At the end,
i put my notify_by_email method in models.py because I didn't need the
request object and it kinda "felt at home" there. However, I'd have put
it in my view if I needed the request object so personally, it depends
on use case.
Did you add 'tagging' to your installed apps?
Sent from my Windows Phone
--
From: Lu Sheng
Sent: 6/9/2013 9:43 PM
To: django-users@googlegroups.com
Subject: Django Tagging: no module named tagging, locally win7
My boss want me to handle a Django web-site.
I install
I'm guessing you want to store more information than default registration
allows you to when signing up users.
First hijack the URL for displaying the registration form so go to your
urls.py file and add this:
from path.to.form import CustomForm
urlpatterns = patterns('',
#hijack
Hi,
Have you been able to sort out this issue?
Why don't you create your own backend and shoe horn it into
django-registration. You'll need to implement register, activate,
registration_allowed, get_form_class, post_registration_redirect and
post_activation_redirect methods (as needed) though.
runserver' produces an error
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=PGP-SHA1;
boundary="Sig_/Iufyh5ys=boUhbk8j.ZRe8A"; protocol="application/pgp-signature"
--Sig_/Iufyh5ys=boUhbk8j.ZRe8A
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
, Babatunde Akinyanmi <tundeba...@gmail.com>wrote:
> Hi Avnesh,
> Your form has only one input with name as "pic" but in your view you are
> checking the QueryDict for six keys and none of them is even named "pic".
>
> meanwhile, I see that you are trying to upload
Hi Avnesh,
Your form has only one input with name as "pic" but in your view you are
checking the QueryDict for six keys and none of them is even named "pic".
meanwhile, I see that you are trying to upload a file, so you might want to
read
How about specifics on the things you have tried and the errors that you
got. You would get more responses of you supply those
Sent from my Windows Phone
--
From: Okorie Emmanuel
Sent: 5/8/2013 9:23 AM
To: django-users@googlegroups.com
Subject: How can i extend django
The right way is to open django_openid_auth source and copy the contents of
its templates folder into your own templates directory and then edit from
your templates directory.
I wrote about this recently:
http://tundebabzy.blogspot.com/2013/04/overriding-templates-from-django-apps.html
Sent from
1 - 100 of 243 matches
Mail list logo