I am interested in this position.
I have an experience in Django Development with strong Python.
On Tue, Apr 2, 2024, 10:49 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
Please share WhatsApp Group Link.
On Mon, Mar 18, 2024, 10:56 PM 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
using django ? If yes how ? If not what's the option?
I did read about the django tenants but it is schema based but I want
multiple database approach while creating tenants.(database must be
identified from subdomains )
Thanks and regards,
Pankaj palmate
--
You received this message because yo
Hi i am using Apache with mod_wsgi.i want to serve 5000 users at a time.how
many processes and threads should I use in order to serve 5000 connections
concurrently...in wsgi daemon process ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To uns
Hi Anil , you might need to pass Id In your view as argument
On Sat, 10 Sep, 2022, 9:51 pm Anil Singh, wrote:
> Dear All
> When i running our program then coming this type of error, what is
> solutions
>
> TypeError at /errorapi/insuranceDetails/get() missing 1 required
> positional argument: 'i
Then simply make that records inactive by adding one flag in table and
instead of deleting make It inactive
On Fri, 7 Jan, 2022, 7:22 pm Feroz Ahmed, wrote:
> Hi,
> How to delete user salary record , but want to keep history till deleted
> date.
>
> ex:
>
>1. Month June
>2. Month July
>
Also request in def get itself
On Tue, 16 Nov, 2021, 9:40 am pankaj palmate,
wrote:
> def get(self, pk, *args,**kwargs ) :
> ...body..
>
> On Tue, 16 Nov, 2021, 2:57 am Aadil Rashid,
> wrote:
>
>> Hello my dear Friends, I have a question reg
def get(self, pk, *args,**kwargs ) :
...body..
On Tue, 16 Nov, 2021, 2:57 am Aadil Rashid, wrote:
> Hello my dear Friends, I have a question regarding Class Based Views.
>
> If we have a url e.g,
> path('item//', views.funView)
>
> We can handle it in Function Based Views,
Simple is better' than complex article
On Tue, 26 Oct, 2021, 9:33 pm parag gupta, wrote:
> Is there any good celery tutorial that might help?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop recei
Hi Abhishek thanks for the response but we cannot avoid users from download
using it
On Mon, 19 Jul, 2021, 9:13 am Abhishek Choudhury, <
choudhuryabhishe...@gmail.com> wrote:
> Hey Pankaj,
>
> I think you can achieve this by adding an expiration date field in the
> model. S
chanism to download the video.
>
> - Benjamin
>
>
>
> On Jul 18, 2021, at 9:44 PM, pankaj palmate
> wrote:
>
> Hello please help me in this, I want to provide my video content to users
> and my objects are stored in AWS s3 buckets.I want user to view video for 1
> year of v
Hello please help me in this, I want to provide my video content to users
and my objects are stored in AWS s3 buckets.I want user to view video for 1
year of validity but restrict to download the video...also he will have
acess through my website only(i.e. he should not use s3 object url to
access
Yes using javascript
On Sat, 29 May, 2021, 11:22 pm Kumar Gaurav,
wrote:
> Hi All,
>
> How to show a preview of the form filled before submitting. I don't want
> to edit the form in preview but just to see how it will be submitted.
>
> Can Django form tools will help or should I use Jquery or Ja
Mostapha Bouderka writes:
> send_mail), I had to initiate " telnet smtp.gmail.com 587 ", which worked
> for a while, but now I can't get it to work. When I type this command in
> the terminal, I get this error :
>
> Connecting To smtp.gmail.com...Could not open connection to the host, on
> po
Mike Dewhirst writes:
> On 18/05/2021 3:18 pm, Mike Dewhirst wrote:
>> On 18/05/2021 3:14 pm, Pankaj Jangid wrote:
>>> I have an application from 3.1.x and in 3.2 we have to explicitly state
>>> this to make it compatible i.e. without any warning:
do I just need to run migration?
--
Regards,
Pankaj Jangid
--
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...@googlegrou
If you want a straight approach there are some sites which will make mobile
app for your django webApp and they will send a link of the mobile app for
free if you want only a trial but if you want to do from your side and want
to publish on play store you can definitely do that with a simple code o
It seems you have not installed django properly
On Sun, 28 Mar, 2021, 7:34 pm Sujit Mandal, wrote:
> i am totally new with django. I tried to print Hello World in my first app
> but i failed. Cmd showed some error but i can't understand what i make
> mistake.
>
> ERROR:
>
> C:\Users\Admission So
What about paypal?
On Tue, 23 Mar, 2021, 6:30 pm Ram, wrote:
> Hi,
>
> We are exploring best payment gateway for a Django based web and mobile
> application. Our criteria for choosing this payment gateway is like this:
>
> 1. Looking for either affordable or free option
>
> 2. Suitable for user
yes you can do just make one anchor tag and call view asynchronously*(using
ajax) *so that particular set of image is shown and then prepare logic for
selecting image and submit the form as you do
On Fri, Mar 19, 2021 at 12:07 PM Kumar Gaurav
wrote:
> Hi Everyone,
>
> I have a social media kind
can you elaborate it more means are you taking about Response?
On Thursday, January 7, 2021 at 10:48:33 PM UTC+5:30 amanmo...@gmail.com
wrote:
> Hello Django Lover,
>
> I have a doubt how can we redirect one page to another on API response /
> fetch response on Django template .
>
--
You rec
Ari Davidow writes:
> The list is more likely set up not to send your own responses to you. In
> any event, this one message certainly reached the list.
Yes. I was happy to see my message in the list. BTW I read the list via
nntp gateway. So all messages, including mine, should appear in the
lis
Last time I posted a reply and it did not reach the list. This message
is just to check if my posts are reaching here. Forgive me for the
broadcast. But there is no way to contact the list owner/moderator.
Regards
--
You received this message because you are subscribed to the Google Groups
"Dja
Fenrir Sivar writes:
> I inherited a django app that calls private APIs in a view to fetch some
> data. The credentials or api keys are currently hardcoded in the source,
> making it difficult to share.
> What is the preferred way to store these kind of keys in a secure way only
> accessible to t
Snapshot for the models
Snapshots for signals
On Wednesday, August 5, 2020 at 9:50:52 AM UTC+5:30, Amitesh Sahay wrote:
>
> Post your signal here to check
>
>
>
> On Tuesday, 4 August, 2020, 11:07:56 pm IST, sonam pankaj <
> son
We have already used signals. still it escaped to make one of the user
On Tue, Aug 4, 2020 at 9:35 PM neeraj garg wrote:
> You could use django signals which will keep the models in sync.
>
> On Tue, Aug 4, 2020, 9:16 PM sonam pankaj wrote:
>
>>
>>
>> Hi,
&
Hi,
there is a problem when doing profile model using contrib.auth ,
sometimes profile is created without user so they went out of sync. How to
make sure that user_id and Profile_id remain in sync. thanks
--
You received this message because you are subscribed to the Google
Make sure your line request.session['ts_dataset_copy'], print anything
above it, also make sure you are using POST method in forms (method =
"post")
On Tuesday, February 25, 2020 at 3:47:25 AM UTC+5:30, Guy NANA wrote:
>
> I have an angular frontend app which send file to django backend which
You haven't set max_len of TextField, use this - do it like this --
Description = models.TextField(max_length=1000)
On Monday, February 24, 2020 at 8:14:25 PM UTC+5:30, Amitesh Sahay wrote:
>
> Hi,
>
> I am creating a model, which is taking a description as text field. when I
> migrate I see t
Try using regular expression (?P[0-9]+)
similar to this:
url(r'^music/(?P[0-9]+)/newsongs$', views.your_view_function())
cheers!
On 12/6/18, Sourajit Mohanty wrote:
> I am working with Class based Views..so I dont think this is gonna work
>
> On Thu 6 Dec, 2018, 2:33 AM shiva kumar wrote:
>
Thats a valid workflow in my opinion. Many Django works take that approach.
But alternatively, if you want you can pass the product info as parameters
in the Payment app while redirecting and can have a model in the Payment
app to capture and integrate product and payment parameters together. That
I am getting below error while launching host ip
--
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
Search
<https://www.google.com/search?q=site:stackoverflow.com%20set%20environment%20variable%20wsgi%20python>
.
I hope it helps solve your problem.
On Thu, Feb 9, 2017 at 3:07 AM, Gang Yang wrote:
> Hi, Pankaj,
>
> Thanks for the reply. The REQUESTS_CA_BUNDLE env var worked as lo
Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/f07875b8-f3b8-4bcb-b95f-2d936f5ece34%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f07875b8-f3b8-4bc
;
On Wed, Feb 8, 2017 at 12:23 PM, Pankaj Singh wrote:
> Hi,
>
> My question is where does SSL client code get the trusted CA certificates
>> from, from Django, Python or the underlying OS?
>
>
> As per official documentation of requests
> <http://docs.python-
44d10e97923%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Regards,
Pankaj Kumar Singh
Mobile: +91 9618754327
Skype: psjinx
Emal: psj...@gmail.com
--
You received this message because you are subscribed to
{% with "/media/"|add:i.no|add:".jpg" as template_str %}
Above line worked for me.
On Sun, Apr 7, 2013 at 3:05 PM, Fatih Tiryakioglu wrote:
> Thank you again Pankaj,
>
> But evaluated string is just ".jpg" . "/media/" and i.no are absent..
>
On Sun, Apr 7, 2013 at 1:11 PM, Fatih Tiryakioglu wrote:
> {% with "/media/"|add:"{{ i.no }}"|add:".jpg" as template_str %}
This should be
{% with "/media/"|add:i.no|add".jpg" as template_str %}
{% endwith %}
You don't need to use
ectstatic` command collects static files from different
>> apps in this directory.
>> > STATIC_URL = '/unnamed/'
>> As explained above for MEDIA_URL
>>
>> If you want to use an image located at
>> /home/mehmet/internet_projeleri/site4ust/unnamed/6083
nnamed"
MEDIA_URL="/media/"
>
Above code will work now.
--
Sincerely,
Pankaj Singh
http://about.me/psjinx
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sincerely,
Pankaj Singh
http://about.me/psjinx
--
You received this m
it this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Sincerely,
Pankaj Singh
http://about.me/psjinx
--
You received this message because you are subscribed to the Google Groups
"Django users
cribe 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 django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit
gt; To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sincerely,
Pankaj Singh
http://about.me/psjinx
--
You received this mess
ango.
> The other question is, for Yii, it has user interface for generating CRUD,
> does Django have such features?
Yes, Django has a very powerful admin site[1]. For screenshots of
admin site visit[2].
Links-
1. https://docs.djangoproject.com/en/1.5/ref/contrib/admin/
2. http://goo.gl/H9B5S
> Many Thanks
>
> Jon
>
> --
> 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.
>
" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> django-users+unsubscribe@**googlegroups.com
> .
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at
> http://groups.google.com/**gr
module(mod_name),
> func_name)
> File
> "/home/env/project/lib/python2.7/site-packages/django/utils/importlib.py"
> in import_module
> 35. __import__(name)
>
> Exception Type: ImportError at /
> Exception Value: No module named views
>
> --
> You received thi
oup/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sincerely,
Pankaj Singh
http://about.me/psjinx
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this gro
o django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sincerely,
Pankaj Singh
Hey,
Have a look at https://www.djangopackages.com/grids/g/newsletter/.
I have used emencia django newsletter previously (http://vimeo.com/16793999
).
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Wed, Mar 13, 2013 at 6:00 PM, frocco wrote:
> Hello,
>
> Does anyone know of
Hey Jaimin,
For recurring submissions managed by Stripe, have a look at
https://github.com/eldarion/django-stripe-payments
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Wed, Mar 6, 2013 at 2:27 AM, Jaimin Patel wrote:
> Yes, we are USA based and I come across stripe. It seems v
>
> so this means enabling the comment app will not render comments
> anywhere and developer needs to manually choose to include it in page
> templates
Yes.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Thu, Feb 21, 2013 at 3:38 PM, yakoub abaya wrote:
>
> thank
atetag-render_comment_list>
:
{% render_comment_list for [object] %}
For example:
{% render_comment_list for event %}
This will render comments using a template named comments/list.html, a
default version of which is included with Django.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Thu, Feb
/webapps/project_name.
I will upload an example project to Github in few days.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Wed, Feb 20, 2013 at 9:06 PM, Vittorio wrote:
> As a newbye I'm using django 1.4.3 under Mac OS X.
> Reading the tutorials (and an Italian book on django by
cs.org/en/latest/intro/tutorial01.html
Only some of topics have been translated till now. This translation project
on Github (https://github.com/python-docs-ko/django-docs-ko). May be you
can contribute in future :)
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Wed, Feb 20, 2013 at 6:35
ing open sourced.
I would like to contribute if you end up writing a new app.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Wed, Feb 20, 2013 at 11:16 AM, James Socol wrote:
> On Tuesday, February 19, 2013 10:36:49 PM UTC-5, Mike Dewhirst wrote:
>>
>> Does anyone know of
good at basics. This book is
not for beginners.
It's good to do your homework before posting a question on public
forums/mailing lists. Please read
1. http://www.catb.org/esr/faqs/smart-questions.html
2. http://stackoverflow.com/questions/how-to-ask
Happy Coding !!
Sincerely,
P
Hey,
You are not using reverse in your views.py. I'm not sure what is causing
your problem.
hi, if you have any mini project on django, plz share, i m beginner it can
> be helpful for me... plz share if u have..
Django By Example - http://lightbird.net/dbe2/
Sincerely,
Pankaj Si
name="contact"),
url(r'^archive/$', direct_to_template, {"template": "archive.html"},
name="archive"),
)
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Tue, Feb 19, 2013 at 5:06 PM, Avnesh Shakya wrote:
> ya i have done it but
Hey,
I asked you to make changes in templates (i.e. home.html, about.html etc.)
and not urls.py.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Tue, Feb 19, 2013 at 4:56 PM, Avnesh Shakya wrote:
> hi pankaj, i have got again error same..
> if i change
&g
Hey Avnesh,
In your templates you have written following lines
homeaboutarchivecontact
Change them to following, notice single quotes surrounding url pattern name
homeaboutarchivecontact
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Tue, Feb 19, 2013 at 4:06 PM, Avnesh Shakya wrote
Right. 'UsernaBaseProfile' should be 'UserenaBaseProfile'.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Tue, Feb 19, 2013 at 12:53 PM, Zhao Quan wrote:
> thanks I resolve that issue,
> seems the parameter miss a 'e'.
>
>
> On Tue, Feb 19, 2
Hey,
You need to import UserenaBaseProfile in your models.py before defining
MyProfile class.
from userena.models import UserenaBaseProfile
http://docs.django-userena.org/en/latest/installation.html#profiles
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Tue, Feb 19, 2013 at 12:36 PM
will occur at the time of the
> first request to arrive after the change has been made. The way that the
> restart is performed does not affect the handling of the request, with it
> still being processed once the daemon process has been restarted.
This is standard deployment practice.
VALID to "%s %s" and that
will cause a formatting error to be raised.
https://docs.djangoproject.com/en/1.2/ref/templates/api/#how-invalid-variables-are-handled
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Mon, Feb 18, 2013 at 4:02 PM, andrea crotti
wrote:
> I have a case where w
Hey,
Touching wsgi.py file is enough. Find more details at
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode#Reloading_In_Daemon_Mode
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Mon, Feb 18, 2013 at 7:56 PM, frocco wrote:
> Hello,
>
> In PHP, if I make a change to the
/wsgi.py#L245-L253
This response is served by Webserver.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Mon, Feb 18, 2013 at 6:15 PM, Serge G. Spaolonzi wrote:
> Hi,
>
> How does the Http404 exception works internally?
> I want to make the same but with for a 401 code and a custo
lliproject.com/
6. http://django-admin-tools.readthedocs.org/en/latest/
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Sun, Feb 17, 2013 at 1:11 PM, Владимир Паль wrote:
> Hi, I have following problem.
> It is quite often that django admin plugins include their own version of
> jquery an
ce code for Context class (
https://github.com/django/django/blob/1.4.3/django/template/context.py#L84).
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Mon, Feb 18, 2013 at 12:04 AM, Tiago Carvalho wrote:
> Hello,
>
> I'm new to Django and I'm with an error, passing data from v
/djangolinks
https://twitter.com/djangodose
https://twitter.com/djangosnippets
You might be interested in
https://twitter.com/statuscode (weekly newsletter)
https://twitter.com/pycoders (weekly newsletter)
You can find more in twitter recommendations.
Sincerely,
Pankaj Singh
http://about.me
ender,
instance, *args, **kwargs):
instance.clean_out()
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Tue, Feb 5, 2013 at 12:15 PM, Mike Dewhirst wrote:
> Could someone please point out my mistake?
>
> def clean_out(self):
> child_lst = list(Child.objects.
size.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Tue, Feb 5, 2013 at 1:13 PM, Avnesh Shakya wrote:
> plz tell me why this error is coming here... after setting urls.py.
> plz help me..
> ViewDoesNotExist at /admin/
>
>
> Could not import foo.views.index. View does n
Yes, save_formset() has only those instances whose fields were changed.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Mon, Feb 4, 2013 at 10:46 PM, Rob van Dam wrote:
> Hi Pankaj,
>
> Thank you so much You have saved my day :-) I will be able to test it
> tomorrow, and I
, TicketAdmin)
I hope it helps.
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Mon, Feb 4, 2013 at 9:01 PM, Rob van Dam | Camping het Wieskamp
wrote:
> Hi Pankaj,
>
> I have tried many things today, but unfortunately I cannot get anything
> working :-( Can you give me a bit more in
http://stackoverflow.com/questions/8294889/override-save-on-django-inlinemodeladmin
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Sun, Feb 3, 2013 at 1:34 AM, Pankaj Singh wrote:
> Hey Rob,
>
> You can override save_formset() method of ModelAdmin for this. Create
&
/#django.contrib.admin.ModelAdmin.save_formset
2.
https://docs.djangoproject.com/en/1.4/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_formset
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Sat, Feb 2, 2013 at 8:29 PM, Rob wrote:
> I have two models:
>
> class Tickets(models.Model):
>
of several layers of logic - from HTTP-level
request handling, to formvalidation and proceIn [7]:
--
Pankaj Singh
http://about.me/psjinx
On Mon, Jan 28, 2013 at 8:21 AM, Ranjith Kumar
wrote:
> Hello All,
> I wanted to build bookmarking web application using django, in this app
user
> can
ubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com 'django-users%2bunsubscr...@googlegroups.com');>.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
s blog post -
http://highonpython.com/index.php/setting-up-ios-push-notifications-apns-with-pythondjango-through-pyapns/
--
Pankaj
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
Hey Steve,
You should ask this questions in django-developers mailing list as
it's related to development of django itself. It will be best to hear
comments from Core Developers.
--
Pankaj Singh
http://about.me/psjinx
On Wed, Jan 23, 2013 at 6:58 PM, SteveB wrote:
> Can anybody pr
make things more dynamic
This will give you basic understanding of `how to integrate django+bootstrap".
--
Pankaj Singh
http://about.me/psjinx
On Wed, Jan 23, 2013 at 9:53 AM, SameerOak wrote:
> Hello,
>
> I am new to web development and python and django was my immediate choice t
-refresh/p1.
--
Pankaj Singh
http://about.me/psjinx
On Wed, Jan 23, 2013 at 2:12 PM, luke lukes wrote:
> a question about admin: in the changelist page, is it possible to keep the
> selected items of a page while going to another page and returning to it.
>
> I mean:
>
> I
Hey Sameer,
His project uses twitter bootstrap forms in templates. That's the only
unique thing about this project.
If you are looking for an email based registration app in django which
uses bootstrap forms then you can use this one.
--
Pankaj Singh
http://about.me/psjinx
On Wed, J
following
i = items[0]
`i.content_object` will refer to original object used.
Please go through official documentation for GenericForeignKey once more.
Links:
1.
https://docs.djangoproject.com/en/1.4/ref/contrib/contenttypes/#django.contrib.contenttypes.generic.GenericForeignKey
--
Pankaj Singh
://docs.djangoproject.com/en/1.4/howto/static-files/#serving-other-directories
.
--
Pankaj Singh
http://about.me/psjinx
On Tue, Jan 22, 2013 at 6:08 AM, grat wrote:
> hi,
>
> i cannot download file upladed by admin.
>
> i have this model:
> class Smlouvy(models.Model):
> note
to get original object.
I used similar approach for creating a new feed similar to facebook.
Please have a look at related stackoverflow question,
http://stackoverflow.com/questions/2128886/django-way-for-building-a-news-feed-status-update-activity-stream.
--
Pankaj Singh
http://about.me/psjinx
If you want to get all `A11M1_user_items` objects then following query
should work
--
Pankaj Singh
http://about.me/psjinx
On Wed, Jan 23, 2013 at 3:53 PM, Sarfraz ahmad wrote:
> i have the same model having one foreignkey to User and second to the
> ContentType
>
> class A11M
Hey,
You must be using a context variable to fill your `side_menu` block.
One reason for failure can be that, context variable is available in
template when `ntw.views.index` is called but not available when
'staff.views.index' is called.
--
Pankaj Singh
http://about.me/psjinx
On T
"type": "image/jpeg",
"size": flat.image.size,
"delete_url": reverse("delete_flat", args=[flat.pk]),
"delete_type": "DELETE",
"description": flat.des
?
Pankaj Singh
http://about.me/psjinx
On Wed, Jan 23, 2013 at 3:29 PM, Sarfraz ahmad wrote:
> thanx buddy bt i wish to do it in a manner that a model which has a foreign
> key to ContentType, when i make a query on this model it returns all the
> objects from various apps related to curre
## do something with object
FYI, getattr(user, link) is manager for that relate object.
Pankaj Singh
http://about.me/psjinx
On Wed, Jan 23, 2013 at 2:42 PM, Pankaj Singh wrote:
> Hey Sarfraz,
>
> You can use any of following methods:
>
> User._meta.get_all_rel
to use in your case.
Pankaj Singh
http://about.me/psjinx
On Wed, Jan 23, 2013 at 2:30 PM, Sarfraz ahmad wrote:
> hello friends
> i have a project with 7 applications installed in it and i
> want to get all the objects related to a particular user from all the
> app
ub/
2. https://github.com/frozenskys/django-github
3. https://github.com/omab/django-social-auth
4. https://github.com/pennersr/django-allauth
5. https://github.com/sigmavirus24/github3.py
6. http://developer.github.com/v3/libraries/#python
7. https://github.com/sethtrain/django-git
Pankaj Singh
> s/PREVENT/PROTECT/
My mistake.
Pankaj Singh
http://about.me/psjinx
On Mon, Jan 21, 2013 at 8:08 AM, Javier Guerra Giraldez
wrote:
> On Sun, Jan 20, 2013 at 2:21 PM, Pankaj Singh wrote:
>> As per docs, on_delete=models.PREVENT, prevents deletion of the
>> referenced
:
[1]:
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.on_delete
Pankaj Singh
http://about.me/psjinx
On Mon, Jan 21, 2013 at 12:42 AM, Subodh Nijsure
wrote:
> Hi,
>
> Say I have model that comprises of Books and Authors. Where a book may have
&
Hi,
You need to unregister `User` model from admin site before registering new one.
admin.site.unregister(User)
admin.site.register(CustomUser, UserAdmin)
Please have a look at http://stackoverflow.com/a/2270704/353550
Pankaj Singh
http://about.me/psjinx
On Mon, Nov 26, 2012 at 9:14 PM
f is defined.
But you say that, url for js file works. Please use Firebug addon in
Firefox to see javascript errors.
-- Pankaj
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@goog
+1 Please :)
On Saturday, 30 June 2012 20:40:27 UTC+5:30, Cal Leeming [Simplicity Media
Ltd] wrote:
>
> Hi all,
>
> As some of you know, I did a live webcast last year (July 2011) on our LLG
> project, which explained how we overcome some of the problems associated
> with large data processing
You can also use Pyquery for this purpose..
On Saturday, 30 June 2012 18:07:13 UTC+5:30, mo.mughrabi wrote:
>
> Hello,
>
> am really a noob with regular expressions, I tried to do this on my own
> but I couldn't understand from the manuals how to approach it. Am trying to
> find all img tags of
1 - 100 of 150 matches
Mail list logo